#372155#372155

#372155 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.4% C 0.091 H 300.6°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#372155
RGBrgb(55, 33, 85)
HSLhsl(265, 44%, 23%)
HSVhsv(265, 61%, 33%)
CMYKcmyk(35.3%, 61.2%, 0%, 66.7%)
CIE-LABlab(18.17, 23.07, -27.85)
CIE-LCHlch(18.17, 36.16, 309.64°)
OKLaboklab(30.43% 0.0466 -0.0788)
OKLCHoklch(30.43% 0.091 300.6)
XYZxyz(3.7587, 2.5558, 8.8879)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#372155 #3F5521
analogous
#212555 #372155 #512155
triadic
#372155 #553721 #215537
tetradic
#372155 #552125 #3F5521 #215551
square
#372155 #552125 #3F5521 #215551
split-complementary
#372155 #555121 #255521
monochromatic
#0E0916 #1A1029 #372155 #543281 #7043AD

Accessibility & contrast

On white

13.90
#372155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #372155
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##372155#FFFFFF#000000##FFFFFF
##3721551.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B2C57
Deuteranopia (green-blind)
#132C54
Tritanopia (blue-blind)
#312B37
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #372155;
/* rgb */ color: rgb(55, 33, 85);
/* oklch */ color: oklch(30.4% 0.091 300.6);
Tailwind
colors: {
  custom: {
    50: '#705d85',
    500: '#372155',
    950: '#000000',
  },
}
SCSS
$custom: #372155;
$custom-light: #705d85;
$custom-dark: #000000;
JSON
{
  "hex": "#372155",
  "rgb": {
    "r": 55,
    "g": 33,
    "b": 85
  },
  "hsl": {
    "h": 265.385,
    "s": 44.068,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30428,
    "c": 0.09149,
    "h": 300.6
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#372155
secondary
#6E8949
accent
#D4549E
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08040B
muted
#7B797C

Preview Lab

Preview with #372155

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

Preview Lab → · Contrast checker → · Palette generator →

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