#36238F#36238F

#36238F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 35.9% C 0.166 H 282.0°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#36238F
RGBrgb(54, 35, 143)
HSLhsl(251, 61%, 35%)
HSVhsv(251, 76%, 56%)
CMYKcmyk(62.2%, 75.5%, 0%, 43.9%)
CIE-LABlab(23.57, 39.81, -56.45)
CIE-LCHlch(23.57, 69.08, 305.19°)
OKLaboklab(35.86% 0.0347 -0.1628)
OKLCHoklch(35.86% 0.166 282)
XYZxyz(7.0787, 3.9690, 26.3743)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#36238F #7C8F23
analogous
#23468F #36238F #6C238F
triadic
#36238F #8F3623 #238F36
tetradic
#36238F #8F2346 #7C8F23 #238F6C
square
#36238F #8F2346 #7C8F23 #238F6C
split-complementary
#36238F #8F6C23 #468F23
monochromatic
#110B2D #23175E #36238F #492FC0 #6D57D6

Accessibility & contrast

On white

11.71
#36238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#36238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #36238F
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##36238F#FFFFFF#000000##FFFFFF
##36238F1.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#004157
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #36238f;
/* rgb */ color: rgb(54, 35, 143);
/* oklch */ color: oklch(35.9% 0.166 282.0);
Tailwind
colors: {
  custom: {
    50: '#7960b1',
    500: '#36238f',
    950: '#000000',
  },
}
SCSS
$custom: #36238f;
$custom-light: #7960b1;
$custom-dark: #000000;
JSON
{
  "hex": "#36238f",
  "rgb": {
    "r": 54,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 250.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3586,
    "c": 0.16643,
    "h": 282
  },
  "luminance": 0.0397
}

Semantic roles & 50–950 ramp

primary
#36238F
secondary
#A8BA54
accent
#E444C8
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #36238F

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

Preview Lab → · Contrast checker → · Palette generator →

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