#36287A#36287A

#36287A is a dark, vivid violet. Relative luminance 0.037; OKLCH L 34.6% C 0.133 H 284.9°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#36287A
RGBrgb(54, 40, 122)
HSLhsl(250, 51%, 32%)
HSVhsv(250, 67%, 48%)
CMYKcmyk(55.7%, 67.2%, 0%, 52.2%)
CIE-LABlab(22.68, 30.05, -44.72)
CIE-LCHlch(22.68, 53.88, 303.90°)
OKLaboklab(34.62% 0.0342 -0.1284)
OKLCHoklch(34.62% 0.133 284.9)
XYZxyz(5.7919, 3.7067, 18.8188)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36287A #6C7A28
analogous
#28437A #36287A #5F287A
triadic
#36287A #7A3628 #287A36
tetradic
#36287A #7A2843 #6C7A28 #287A5F
square
#36287A #7A2843 #6C7A28 #287A5F
split-complementary
#36287A #7A5F28 #437A28
monochromatic
#0D0A1E #22194C #36287A #4A37A8 #6955C7

Accessibility & contrast

On white

12.06
#36287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#36287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36287A
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36287A#FFFFFF#000000##FFFFFF
##36287A1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#003478
Tritanopia (blue-blind)
#193C4D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #36287a;
/* rgb */ color: rgb(54, 40, 122);
/* oklch */ color: oklch(34.6% 0.133 284.9);
Tailwind
colors: {
  custom: {
    50: '#7463a1',
    500: '#36287a',
    950: '#000000',
  },
}
SCSS
$custom: #36287a;
$custom-light: #7463a1;
$custom-dark: #000000;
JSON
{
  "hex": "#36287a",
  "rgb": {
    "r": 54,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 250.244,
    "s": 50.617,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34619,
    "c": 0.13287,
    "h": 284.9
  },
  "luminance": 0.03707
}

Semantic roles & 50–950 ramp

primary
#36287A
secondary
#9DAC52
accent
#DA4EC2
background
#F7F5FA
surface
#EDEAF3
border
#C8C6CD
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36287A

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

Preview Lab → · Contrast checker → · Palette generator →

#36287A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva