#36237D#36237D

#36237D is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.1% C 0.143 H 285.6°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#36237D
RGBrgb(54, 35, 125)
HSLhsl(253, 56%, 31%)
HSVhsv(253, 72%, 49%)
CMYKcmyk(56.8%, 72%, 0%, 51%)
CIE-LABlab(21.82, 34.07, -48.02)
CIE-LCHlch(21.82, 58.88, 305.36°)
OKLaboklab(34.09% 0.0386 -0.1381)
OKLCHoklch(34.09% 0.143 285.6)
XYZxyz(5.8229, 3.4667, 19.7604)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36237D #6A7D23
analogous
#233D7D #36237D #63237D
triadic
#36237D #7D3623 #237D36
tetradic
#36237D #7D233D #6A7D23 #237D63
square
#36237D #7D233D #6A7D23 #237D63
split-complementary
#36237D #7D6323 #3D7D23
monochromatic
#0D081D #21164D #36237D #4B30AD #684DCD

Accessibility & contrast

On white

12.40
#36237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #36237D
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36237D#FFFFFF#000000##FFFFFF
##36237D1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#173B4D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #36237d;
/* rgb */ color: rgb(54, 35, 125);
/* oklch */ color: oklch(34.1% 0.143 285.6);
Tailwind
colors: {
  custom: {
    50: '#7560a3',
    500: '#36237d',
    950: '#000000',
  },
}
SCSS
$custom: #36237d;
$custom-light: #7560a3;
$custom-dark: #000000;
JSON
{
  "hex": "#36237d",
  "rgb": {
    "r": 54,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 252.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34087,
    "c": 0.14339,
    "h": 285.6
  },
  "luminance": 0.03467
}

Semantic roles & 50–950 ramp

primary
#36237D
secondary
#9BAF4C
accent
#E048C0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09050F
muted
#7B797F

Preview Lab

Preview with #36237D

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

Preview Lab → · Contrast checker → · Palette generator →

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