#372154#372154

#372154 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.4% C 0.090 H 301.1°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#372154
RGBrgb(55, 33, 84)
HSLhsl(266, 44%, 23%)
HSVhsv(266, 61%, 33%)
CMYKcmyk(34.5%, 60.7%, 0%, 67.1%)
CIE-LABlab(18.10, 22.77, -27.29)
CIE-LCHlch(18.10, 35.54, 309.85°)
OKLaboklab(30.35% 0.0465 -0.0771)
OKLCHoklch(30.35% 0.09 301.1)
XYZxyz(3.7193, 2.5400, 8.6801)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372154 #3E5421
analogous
#212454 #372154 #502154
triadic
#372154 #543721 #215437
tetradic
#372154 #542124 #3E5421 #215450
square
#372154 #542124 #3E5421 #215450
split-complementary
#372154 #545021 #245421
monochromatic
#0E0916 #1A1028 #372154 #543280 #7144AC

Accessibility & contrast

On white

13.93
#372154 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#372154 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372154
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372154#FFFFFF#000000##FFFFFF
##3721541.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2C56
Deuteranopia (green-blind)
#142C53
Tritanopia (blue-blind)
#312B37
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #372154;
/* rgb */ color: rgb(55, 33, 84);
/* oklch */ color: oklch(30.4% 0.090 301.1);
Tailwind
colors: {
  custom: {
    50: '#705d84',
    500: '#372154',
    950: '#000000',
  },
}
SCSS
$custom: #372154;
$custom-light: #705d84;
$custom-dark: #000000;
JSON
{
  "hex": "#372154",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 265.882,
    "s": 43.59,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30354,
    "c": 0.09007,
    "h": 301.1
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#372154
secondary
#6D8849
accent
#D3549D
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #372154

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

Preview Lab → · Contrast checker → · Palette generator →

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