#372487#372487

#372487 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.155 H 283.9°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#372487
RGBrgb(55, 36, 135)
HSLhsl(252, 58%, 34%)
HSVhsv(252, 73%, 53%)
CMYKcmyk(59.3%, 73.3%, 0%, 47.1%)
CIE-LABlab(23.08, 36.85, -52.27)
CIE-LCHlch(23.08, 63.95, 305.19°)
OKLaboklab(35.3% 0.0373 -0.1505)
OKLCHoklch(35.3% 0.155 283.9)
XYZxyz(6.5783, 3.8228, 23.3082)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372487 #748724
analogous
#244287 #372487 #682487
triadic
#372487 #873724 #248737
tetradic
#372487 #872442 #748724 #248768
square
#372487 #872442 #748724 #248768
split-complementary
#372487 #876824 #428724
monochromatic
#100A26 #231757 #372487 #4B31B7 #6C54D1

Accessibility & contrast

On white

11.90
#372487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#372487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372487
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372487#FFFFFF#000000##FFFFFF
##3724871.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8A
Deuteranopia (green-blind)
#003485
Tritanopia (blue-blind)
#0B3F53
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #372487;
/* rgb */ color: rgb(55, 36, 135);
/* oklch */ color: oklch(35.3% 0.155 283.9);
Tailwind
colors: {
  custom: {
    50: '#7861ab',
    500: '#372487',
    950: '#000000',
  },
}
SCSS
$custom: #372487;
$custom-light: #7861ab;
$custom-dark: #000000;
JSON
{
  "hex": "#372487",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 251.515,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35295,
    "c": 0.15504,
    "h": 283.9
  },
  "luminance": 0.03823
}

Semantic roles & 50–950 ramp

primary
#372487
secondary
#A2B551
accent
#E147C3
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #372487

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

Preview Lab → · Contrast checker → · Palette generator →

#372487 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva