#362096#362096

#362096 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.178 H 281.3°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#362096
RGBrgb(54, 32, 150)
HSLhsl(251, 65%, 36%)
HSVhsv(251, 79%, 59%)
CMYKcmyk(64%, 78.7%, 0%, 41.2%)
CIE-LABlab(23.73, 43.59, -60.51)
CIE-LCHlch(23.73, 74.57, 305.77°)
OKLaboklab(36.19% 0.0349 -0.1746)
OKLCHoklch(36.19% 0.178 281.3)
XYZxyz(7.5411, 4.0187, 29.2266)
Luminance0.0402 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362096 #809620
analogous
#204596 #362096 #712096
triadic
#362096 #963620 #209636
tetradic
#362096 #962045 #809620 #209671
square
#362096 #962045 #809620 #209671
split-complementary
#362096 #967120 #459620
monochromatic
#120A31 #241564 #362096 #482BC8 #6E56DB

Accessibility & contrast

On white

11.64
#362096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#362096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362096
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362096#FFFFFF#000000##FFFFFF
##3620961.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003494
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #362096;
/* rgb */ color: rgb(54, 32, 150);
/* oklch */ color: oklch(36.2% 0.178 281.3);
Tailwind
colors: {
  custom: {
    50: '#7a5fb6',
    500: '#362096',
    950: '#000000',
  },
}
SCSS
$custom: #362096;
$custom-light: #7a5fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#362096",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 251.186,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36193,
    "c": 0.17803,
    "h": 281.3
  },
  "luminance": 0.04019
}

Semantic roles & 50–950 ramp

primary
#362096
secondary
#ABBE53
accent
#E840C9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #362096

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#362096 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva