#372495#372495

#372495 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.7% C 0.173 H 281.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#372495
RGBrgb(55, 36, 149)
HSLhsl(250, 61%, 36%)
HSVhsv(250, 76%, 58%)
CMYKcmyk(63.1%, 75.8%, 0%, 41.6%)
CIE-LABlab(24.46, 41.29, -58.69)
CIE-LCHlch(24.46, 71.76, 305.13°)
OKLaboklab(36.7% 0.034 -0.1693)
OKLCHoklch(36.7% 0.173 281.4)
XYZxyz(7.6295, 4.2433, 28.8449)
Luminance0.0424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372495 #829524
analogous
#244A95 #372495 #702495
triadic
#372495 #953724 #249537
tetradic
#372495 #95244A #829524 #249570
square
#372495 #95244A #829524 #249570
split-complementary
#372495 #957024 #4A9524
monochromatic
#130C32 #251864 #372495 #4930C6 #715CD8

Accessibility & contrast

On white

11.36
#372495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#372495 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372495
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372495#FFFFFF#000000##FFFFFF
##3724951.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00445B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #372495;
/* rgb */ color: rgb(55, 36, 149);
/* oklch */ color: oklch(36.7% 0.173 281.4);
Tailwind
colors: {
  custom: {
    50: '#7a61b5',
    500: '#372495',
    950: '#000000',
  },
}
SCSS
$custom: #372495;
$custom-light: #7a61b5;
$custom-dark: #000000;
JSON
{
  "hex": "#372495",
  "rgb": {
    "r": 55,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 250.088,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.36695,
    "c": 0.17268,
    "h": 281.4
  },
  "luminance": 0.04244
}

Semantic roles & 50–950 ramp

primary
#372495
secondary
#ABBC59
accent
#E444C9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #372495

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

Preview Lab → · Contrast checker → · Palette generator →

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