#36238D#36238D

#36238D is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.7% C 0.164 H 282.4°. Best body text is #FFFFFF at 11.79:1 contrast (WCAG AA passes).

Color values

HEX#36238D
RGBrgb(54, 35, 141)
HSLhsl(251, 60%, 35%)
HSVhsv(251, 75%, 55%)
CMYKcmyk(61.7%, 75.2%, 0%, 44.7%)
CIE-LABlab(23.37, 39.18, -55.54)
CIE-LCHlch(23.37, 67.97, 305.20°)
OKLaboklab(35.66% 0.0352 -0.1601)
OKLCHoklch(35.66% 0.164 282.4)
XYZxyz(6.9286, 3.9089, 25.5835)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36238D #7A8D23
analogous
#23458D #36238D #6B238D
triadic
#36238D #8D3623 #238D36
tetradic
#36238D #8D2345 #7A8D23 #238D6B
square
#36238D #8D2345 #7A8D23 #238D6B
split-complementary
#36238D #8D6B23 #458D23
monochromatic
#100B2B #23175C #36238D #492FBE #6C55D5

Accessibility & contrast

On white

11.79
#36238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#36238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36238D
11.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36238D#FFFFFF#000000##FFFFFF
##36238D1.0011.791.7811.79
#FFFFFF11.791.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004156
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #36238d;
/* rgb */ color: rgb(54, 35, 141);
/* oklch */ color: oklch(35.7% 0.164 282.4);
Tailwind
colors: {
  custom: {
    50: '#7860af',
    500: '#36238d',
    950: '#000000',
  },
}
SCSS
$custom: #36238d;
$custom-light: #7860af;
$custom-dark: #000000;
JSON
{
  "hex": "#36238d",
  "rgb": {
    "r": 54,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 250.755,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35657,
    "c": 0.16392,
    "h": 282.4
  },
  "luminance": 0.03909
}

Semantic roles & 50–950 ramp

primary
#36238D
secondary
#A7B953
accent
#E344C7
background
#F7F5FA
surface
#EEEAF5
border
#C9C6CF
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #36238D

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

Preview Lab → · Contrast checker → · Palette generator →

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