#37239A#37239A

#37239A is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.180 H 280.7°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#37239A
RGBrgb(55, 35, 154)
HSLhsl(250, 63%, 37%)
HSVhsv(250, 77%, 60%)
CMYKcmyk(64.3%, 77.3%, 0%, 39.6%)
CIE-LABlab(24.79, 43.39, -61.23)
CIE-LCHlch(24.79, 75.04, 305.32°)
OKLaboklab(37.08% 0.0334 -0.1767)
OKLCHoklch(37.08% 0.18 280.7)
XYZxyz(8.0075, 4.3468, 30.9826)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#37239A #869A23
analogous
#234B9A #37239A #73239A
triadic
#37239A #9A3723 #239A37
tetradic
#37239A #9A234B #869A23 #239A73
square
#37239A #9A234B #869A23 #239A73
split-complementary
#37239A #9A7323 #4B9A23
monochromatic
#130C36 #251868 #37239A #492ECC #725DDA

Accessibility & contrast

On white

11.23
#37239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#37239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #37239A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##37239A#FFFFFF#000000##FFFFFF
##37239A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003698
Tritanopia (blue-blind)
#00455D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #37239a;
/* rgb */ color: rgb(55, 35, 154);
/* oklch */ color: oklch(37.1% 0.180 280.7);
Tailwind
colors: {
  custom: {
    50: '#7b61b9',
    500: '#37239a',
    950: '#000000',
  },
}
SCSS
$custom: #37239a;
$custom-light: #7b61b9;
$custom-dark: #000000;
JSON
{
  "hex": "#37239a",
  "rgb": {
    "r": 55,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 250.084,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37078,
    "c": 0.17981,
    "h": 280.7
  },
  "luminance": 0.04347
}

Semantic roles & 50–950 ramp

primary
#37239A
secondary
#AEBF5A
accent
#E642CA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #37239A

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

Preview Lab → · Contrast checker → · Palette generator →

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