#36237C#36237C

#36237C is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.0% C 0.142 H 285.9°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#36237C
RGBrgb(54, 35, 124)
HSLhsl(253, 56%, 31%)
HSVhsv(253, 72%, 49%)
CMYKcmyk(56.5%, 71.8%, 0%, 51.4%)
CIE-LABlab(21.73, 33.75, -47.54)
CIE-LCHlch(21.73, 58.30, 305.38°)
OKLaboklab(33.99% 0.0388 -0.1367)
OKLCHoklch(33.99% 0.142 285.9)
XYZxyz(5.7594, 3.4413, 19.4256)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36237C #697C23
analogous
#233C7C #36237C #62237C
triadic
#36237C #7C3623 #237C36
tetradic
#36237C #7C233C #697C23 #237C62
square
#36237C #7C233C #697C23 #237C62
split-complementary
#36237C #7C6223 #3C7C23
monochromatic
#0C081D #21164C #36237C #4B30AC #684DCD

Accessibility & contrast

On white

12.44
#36237C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#36237C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36237C
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36237C#FFFFFF#000000##FFFFFF
##36237C1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367F
Deuteranopia (green-blind)
#00317A
Tritanopia (blue-blind)
#183A4C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #36237c;
/* rgb */ color: rgb(54, 35, 124);
/* oklch */ color: oklch(34.0% 0.142 285.9);
Tailwind
colors: {
  custom: {
    50: '#755fa3',
    500: '#36237c',
    950: '#000000',
  },
}
SCSS
$custom: #36237c;
$custom-light: #755fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#36237c",
  "rgb": {
    "r": 54,
    "g": 35,
    "b": 124
  },
  "hsl": {
    "h": 252.809,
    "s": 55.975,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33993,
    "c": 0.14208,
    "h": 285.9
  },
  "luminance": 0.03442
}

Semantic roles & 50–950 ramp

primary
#36237C
secondary
#9AAF4C
accent
#DF49BF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36237C

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

Preview Lab → · Contrast checker → · Palette generator →

#36237C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva