#372685#372685

#372685 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.150 H 283.8°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#372685
RGBrgb(55, 38, 133)
HSLhsl(251, 56%, 34%)
HSVhsv(251, 71%, 52%)
CMYKcmyk(58.6%, 71.4%, 0%, 47.8%)
CIE-LABlab(23.31, 35.04, -50.63)
CIE-LCHlch(23.31, 61.58, 304.69°)
OKLaboklab(35.4% 0.0359 -0.1457)
OKLCHoklch(35.4% 0.15 283.8)
XYZxyz(6.5010, 3.8915, 22.5943)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372685 #748526
analogous
#264485 #372685 #662685
triadic
#372685 #853726 #268537
tetradic
#372685 #852644 #748526 #268566
square
#372685 #852644 #748526 #268566
split-complementary
#372685 #856626 #448526
monochromatic
#100B26 #231855 #372685 #4B34B5 #6C57CF

Accessibility & contrast

On white

11.81
#372685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#372685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372685
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372685#FFFFFF#000000##FFFFFF
##3726851.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A88
Deuteranopia (green-blind)
#003483
Tritanopia (blue-blind)
#0E3F52
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #372685;
/* rgb */ color: rgb(55, 38, 133);
/* oklch */ color: oklch(35.4% 0.150 283.8);
Tailwind
colors: {
  custom: {
    50: '#7762a9',
    500: '#372685',
    950: '#000000',
  },
}
SCSS
$custom: #372685;
$custom-light: #7762a9;
$custom-dark: #000000;
JSON
{
  "hex": "#372685",
  "rgb": {
    "r": 55,
    "g": 38,
    "b": 133
  },
  "hsl": {
    "h": 250.737,
    "s": 55.556,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35403,
    "c": 0.15007,
    "h": 283.8
  },
  "luminance": 0.03892
}

Semantic roles & 50–950 ramp

primary
#372685
secondary
#A2B353
accent
#DF49C4
background
#F7F5FA
surface
#EEEAF4
border
#C9C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #372685

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

Preview Lab → · Contrast checker → · Palette generator →

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