#372D5F#372D5F

#372D5F is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.5% C 0.086 H 290.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#372D5F
RGBrgb(55, 45, 95)
HSLhsl(252, 36%, 27%)
HSVhsv(252, 53%, 37%)
CMYKcmyk(42.1%, 52.6%, 0%, 62.7%)
CIE-LABlab(22.00, 18.14, -28.37)
CIE-LCHlch(22.00, 33.67, 302.61°)
OKLaboklab(33.49% 0.0295 -0.0803)
OKLCHoklch(33.49% 0.086 290.2)
XYZxyz(4.5789, 3.5151, 11.2615)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372D5F #555F2D
analogous
#2D3C5F #372D5F #502D5F
triadic
#372D5F #5F372D #2D5F37
tetradic
#372D5F #5F2D3C #555F2D #2D5F50
square
#372D5F #5F2D3C #555F2D #2D5F50
split-complementary
#372D5F #5F502D #3C5F2D
monochromatic
#0C0A15 #1F1935 #372D5F #4F4189 #6957AF

Accessibility & contrast

On white

12.33
#372D5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#372D5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372D5F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372D5F#FFFFFF#000000##FFFFFF
##372D5F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193661
Deuteranopia (green-blind)
#1A345E
Tritanopia (blue-blind)
#2C3741
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #372d5f;
/* rgb */ color: rgb(55, 45, 95);
/* oklch */ color: oklch(33.5% 0.086 290.2);
Tailwind
colors: {
  custom: {
    50: '#70668d',
    500: '#372d5f',
    950: '#000000',
  },
}
SCSS
$custom: #372d5f;
$custom-light: #70668d;
$custom-dark: #000000;
JSON
{
  "hex": "#372d5f",
  "rgb": {
    "r": 55,
    "g": 45,
    "b": 95
  },
  "hsl": {
    "h": 252,
    "s": 35.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.33492,
    "c": 0.08554,
    "h": 290.2
  },
  "luminance": 0.03515
}

Semantic roles & 50–950 ramp

primary
#372D5F
secondary
#859157
accent
#CC5CB5
background
#F6F6F8
surface
#ECEBF0
border
#C7C6CB
text
#08060C
muted
#7B7A7D

Preview Lab

Preview with #372D5F

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

Preview Lab → · Contrast checker → · Palette generator →

#372D5F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva