#37239B#37239B

#37239B is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.181 H 280.6°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#37239B
RGBrgb(55, 35, 155)
HSLhsl(250, 63%, 37%)
HSVhsv(250, 77%, 61%)
CMYKcmyk(64.5%, 77.4%, 0%, 39.2%)
CIE-LABlab(24.89, 43.70, -61.67)
CIE-LCHlch(24.89, 75.58, 305.32°)
OKLaboklab(37.18% 0.0332 -0.178)
OKLCHoklch(37.18% 0.181 280.6)
XYZxyz(8.0911, 4.3802, 31.4231)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37239B #879B23
analogous
#234B9B #37239B #73239B
triadic
#37239B #9B3723 #239B37
tetradic
#37239B #9B234B #879B23 #239B73
square
#37239B #9B234B #879B23 #239B73
split-complementary
#37239B #9B7323 #4B9B23
monochromatic
#140C37 #251869 #37239B #492ECD #735EDB

Accessibility & contrast

On white

11.19
#37239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#37239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37239B
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37239B#FFFFFF#000000##FFFFFF
##37239B1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#00465E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #37239b;
/* rgb */ color: rgb(55, 35, 155);
/* oklch */ color: oklch(37.2% 0.181 280.6);
Tailwind
colors: {
  custom: {
    50: '#7c61ba',
    500: '#37239b',
    950: '#000000',
  },
}
SCSS
$custom: #37239b;
$custom-light: #7c61ba;
$custom-dark: #000000;
JSON
{
  "hex": "#37239b",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 250,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37183,
    "c": 0.18103,
    "h": 280.6
  },
  "luminance": 0.04381
}

Semantic roles & 50–950 ramp

primary
#37239B
secondary
#AFBF5A
accent
#E642CB
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #37239B

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

Preview Lab → · Contrast checker → · Palette generator →

#37239B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva