#36207E#36207E

#36207E is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.7% C 0.148 H 286.1°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#36207E
RGBrgb(54, 32, 126)
HSLhsl(254, 59%, 31%)
HSVhsv(254, 75%, 49%)
CMYKcmyk(57.1%, 74.6%, 0%, 50.6%)
CIE-LABlab(21.29, 36.13, -49.52)
CIE-LCHlch(21.29, 61.30, 306.11°)
OKLaboklab(33.74% 0.0412 -0.1425)
OKLCHoklch(33.74% 0.148 286.1)
XYZxyz(5.8026, 3.3233, 20.0703)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36207E #687E20
analogous
#20397E #36207E #65207E
triadic
#36207E #7E3620 #207E36
tetradic
#36207E #7E2039 #687E20 #207E65
square
#36207E #7E2039 #687E20 #207E65
split-complementary
#36207E #7E6520 #397E20
monochromatic
#0C071C #21144D #36207E #4B2CAF #6848D0

Accessibility & contrast

On white

12.61
#36207E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#36207E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36207E
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36207E#FFFFFF#000000##FFFFFF
##36207E1.0012.611.6612.61
#FFFFFF12.611.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003681
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#16394D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #36207e;
/* rgb */ color: rgb(54, 32, 126);
/* oklch */ color: oklch(33.7% 0.148 286.1);
Tailwind
colors: {
  custom: {
    50: '#765ea4',
    500: '#36207e',
    950: '#000000',
  },
}
SCSS
$custom: #36207e;
$custom-light: #765ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#36207e",
  "rgb": {
    "r": 54,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 254.043,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.3374,
    "c": 0.14829,
    "h": 286.1
  },
  "luminance": 0.03324
}

Semantic roles & 50–950 ramp

primary
#36207E
secondary
#99B149
accent
#E345BE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #36207E

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

Preview Lab → · Contrast checker → · Palette generator →

#36207E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva