#372088#372088

#372088 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.8% C 0.161 H 284.5°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#372088
RGBrgb(55, 32, 136)
HSLhsl(253, 62%, 33%)
HSVhsv(253, 76%, 53%)
CMYKcmyk(59.6%, 76.5%, 0%, 46.7%)
CIE-LABlab(22.38, 39.39, -54.04)
CIE-LCHlch(22.38, 66.87, 306.09°)
OKLaboklab(34.83% 0.0402 -0.1556)
OKLCHoklch(34.83% 0.161 284.5)
XYZxyz(6.5346, 3.6224, 23.6426)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372088 #718820
analogous
#203D88 #372088 #6B2088
triadic
#372088 #883720 #208837
tetradic
#372088 #88203D #718820 #20886B
square
#372088 #88203D #718820 #20886B
split-complementary
#372088 #886B20 #3D8820
monochromatic
#0F0925 #231456 #372088 #4B2CBA #6B4DD5

Accessibility & contrast

On white

12.18
#372088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#372088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372088
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372088#FFFFFF#000000##FFFFFF
##3720881.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388B
Deuteranopia (green-blind)
#003286
Tritanopia (blue-blind)
#093D52
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372088;
/* rgb */ color: rgb(55, 32, 136);
/* oklch */ color: oklch(34.8% 0.161 284.5);
Tailwind
colors: {
  custom: {
    50: '#785eac',
    500: '#372088',
    950: '#000000',
  },
}
SCSS
$custom: #372088;
$custom-light: #785eac;
$custom-dark: #000000;
JSON
{
  "hex": "#372088",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 253.269,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34833,
    "c": 0.16077,
    "h": 284.5
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#372088
secondary
#A0B84C
accent
#E543C1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #372088

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

Preview Lab → · Contrast checker → · Palette generator →

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