#372086#372086

#372086 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.158 H 284.9°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#372086
RGBrgb(55, 32, 134)
HSLhsl(254, 61%, 33%)
HSVhsv(254, 76%, 53%)
CMYKcmyk(59%, 76.1%, 0%, 47.5%)
CIE-LABlab(22.18, 38.77, -53.11)
CIE-LCHlch(22.18, 65.76, 306.13°)
OKLaboklab(34.63% 0.0408 -0.1529)
OKLCHoklch(34.63% 0.158 284.9)
XYZxyz(6.3938, 3.5661, 22.9010)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372086 #6F8620
analogous
#203C86 #372086 #6A2086
triadic
#372086 #863720 #208637
tetradic
#372086 #86203C #6F8620 #20866A
square
#372086 #86203C #6F8620 #20866A
split-complementary
#372086 #866A20 #3C8620
monochromatic
#0E0823 #231455 #372086 #4B2CB7 #6B4CD4

Accessibility & contrast

On white

12.26
#372086 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#372086 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372086
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372086#FFFFFF#000000##FFFFFF
##3720861.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#0E3C51
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372086;
/* rgb */ color: rgb(55, 32, 134);
/* oklch */ color: oklch(34.6% 0.158 284.9);
Tailwind
colors: {
  custom: {
    50: '#785eaa',
    500: '#372086',
    950: '#000000',
  },
}
SCSS
$custom: #372086;
$custom-light: #785eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#372086",
  "rgb": {
    "r": 55,
    "g": 32,
    "b": 134
  },
  "hsl": {
    "h": 253.529,
    "s": 61.446,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34631,
    "c": 0.15828,
    "h": 284.9
  },
  "luminance": 0.03566
}

Semantic roles & 50–950 ramp

primary
#372086
secondary
#9FB74B
accent
#E543C0
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #372086

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

Preview Lab → · Contrast checker → · Palette generator →

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