#372157#372157

#372157 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.6% C 0.094 H 299.6°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).

Color values

HEX#372157
RGBrgb(55, 33, 87)
HSLhsl(264, 45%, 24%)
HSVhsv(264, 62%, 34%)
CMYKcmyk(36.8%, 62.1%, 0%, 65.9%)
CIE-LABlab(18.31, 23.66, -28.96)
CIE-LCHlch(18.31, 37.40, 309.25°)
OKLaboklab(30.58% 0.0466 -0.082)
OKLCHoklch(30.58% 0.094 299.6)
XYZxyz(3.8393, 2.5880, 9.3122)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372157 #415721
analogous
#212657 #372157 #522157
triadic
#372157 #573721 #215737
tetradic
#372157 #572126 #415721 #215752
square
#372157 #572126 #415721 #215752
split-complementary
#372157 #575221 #265721
monochromatic
#0E0816 #1B102B #372157 #533283 #6F43B0

Accessibility & contrast

On white

13.84
#372157 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#372157 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #372157
13.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372157#FFFFFF#000000##FFFFFF
##3721571.0013.841.5213.84
#FFFFFF13.841.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#082D59
Deuteranopia (green-blind)
#112C56
Tritanopia (blue-blind)
#302C38
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #372157;
/* rgb */ color: rgb(55, 33, 87);
/* oklch */ color: oklch(30.6% 0.094 299.6);
Tailwind
colors: {
  custom: {
    50: '#705d87',
    500: '#372157',
    950: '#000000',
  },
}
SCSS
$custom: #372157;
$custom-light: #705d87;
$custom-dark: #000000;
JSON
{
  "hex": "#372157",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 87
  },
  "hsl": {
    "h": 264.444,
    "s": 45,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30579,
    "c": 0.09434,
    "h": 299.6
  },
  "luminance": 0.02588
}

Semantic roles & 50–950 ramp

primary
#372157
secondary
#708B49
accent
#D553A0
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #372157

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

Preview Lab → · Contrast checker → · Palette generator →

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