#372295#372295

#372295 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.4% C 0.175 H 281.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#372295
RGBrgb(55, 34, 149)
HSLhsl(251, 63%, 36%)
HSVhsv(251, 77%, 58%)
CMYKcmyk(63.1%, 77.2%, 0%, 41.6%)
CIE-LABlab(24.08, 42.36, -59.31)
CIE-LCHlch(24.08, 72.89, 305.53°)
OKLaboklab(36.43% 0.0354 -0.1711)
OKLCHoklch(36.43% 0.175 281.7)
XYZxyz(7.5707, 4.1257, 28.8253)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372295 #809522
analogous
#224695 #372295 #702295
triadic
#372295 #953722 #229537
tetradic
#372295 #952246 #809522 #229570
square
#372295 #952246 #809522 #229570
split-complementary
#372295 #957022 #469522
monochromatic
#120B31 #251763 #372295 #492DC7 #7058D9

Accessibility & contrast

On white

11.51
#372295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#372295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372295
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372295#FFFFFF#000000##FFFFFF
##3722951.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#00435A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #372295;
/* rgb */ color: rgb(55, 34, 149);
/* oklch */ color: oklch(36.4% 0.175 281.7);
Tailwind
colors: {
  custom: {
    50: '#7a60b5',
    500: '#372295',
    950: '#000000',
  },
}
SCSS
$custom: #372295;
$custom-light: #7a60b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372295",
  "rgb": {
    "r": 55,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 250.957,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.36429,
    "c": 0.17471,
    "h": 281.7
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#372295
secondary
#AABD56
accent
#E642C8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372295

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

Preview Lab → · Contrast checker → · Palette generator →

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