#362086#362086

#362086 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.5% C 0.158 H 284.3°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).

Color values

HEX#362086
RGBrgb(54, 32, 134)
HSLhsl(253, 61%, 33%)
HSVhsv(253, 76%, 53%)
CMYKcmyk(59.7%, 76.1%, 0%, 47.5%)
CIE-LABlab(22.08, 38.63, -53.28)
CIE-LCHlch(22.08, 65.81, 305.94°)
OKLaboklab(34.54% 0.0392 -0.1535)
OKLCHoklch(34.54% 0.158 284.3)
XYZxyz(6.3396, 3.5381, 22.8985)
Luminance0.0354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#362086 #708620
analogous
#203D86 #362086 #692086
triadic
#362086 #863620 #208636
tetradic
#362086 #86203D #708620 #208669
square
#362086 #86203D #708620 #208669
split-complementary
#362086 #866920 #3D8620
monochromatic
#0E0823 #221455 #362086 #4A2CB7 #694CD4

Accessibility & contrast

On white

12.30
#362086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#362086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #362086
12.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##362086#FFFFFF#000000##FFFFFF
##3620861.0012.301.7112.30
#FFFFFF12.301.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#093C51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #362086;
/* rgb */ color: rgb(54, 32, 134);
/* oklch */ color: oklch(34.5% 0.158 284.3);
Tailwind
colors: {
  custom: {
    50: '#775eaa',
    500: '#362086',
    950: '#000000',
  },
}
SCSS
$custom: #362086;
$custom-light: #775eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#362086",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 252.941,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34536,
    "c": 0.1584,
    "h": 284.3
  },
  "luminance": 0.03539
}

Semantic roles & 50–950 ramp

primary
#362086
secondary
#A0B74B
accent
#E543C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #362086

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

Preview Lab → · Contrast checker → · Palette generator →

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