#370942#370942

#370942 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.106 H 318.9°. Best body text is #FFFFFF at 16.40:1 contrast (WCAG AA passes).

Color values

HEX#370942
RGBrgb(55, 9, 66)
HSLhsl(288, 76%, 15%)
HSVhsv(288, 86%, 26%)
CMYKcmyk(16.7%, 86.4%, 0%, 74.1%)
CIE-LABlab(11.96, 31.20, -24.73)
CIE-LCHlch(11.96, 39.81, 321.59°)
OKLaboklab(25.49% 0.0797 -0.0695)
OKLCHoklch(25.49% 0.106 318.9)
XYZxyz(2.6565, 1.4011, 5.2837)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370942 #144209
analogous
#1B0942 #370942 #420931
triadic
#370942 #423709 #094237
tetradic
#370942 #421B09 #144209 #093142
square
#370942 #421B09 #144209 #093142
split-complementary
#370942 #314209 #09421B
monochromatic
#16041B #16041B #370942 #641078 #9118AE

Accessibility & contrast

On white

16.40
#370942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#370942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370942
16.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370942#FFFFFF#000000##FFFFFF
##3709421.0016.401.2816.40
#FFFFFF16.401.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#0D2141
Tritanopia (blue-blind)
#371525
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #370942;
/* rgb */ color: rgb(55, 9, 66);
/* oklch */ color: oklch(25.5% 0.106 318.9);
Tailwind
colors: {
  custom: {
    50: '#704e77',
    500: '#370942',
    950: '#000000',
  },
}
SCSS
$custom: #370942;
$custom-light: #704e77;
$custom-dark: #000000;
JSON
{
  "hex": "#370942",
  "rgb": {
    "r": 55,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 288.421,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25494,
    "c": 0.10573,
    "h": 318.9
  },
  "luminance": 0.01401
}

Semantic roles & 50–950 ramp

primary
#370942
secondary
#388027
accent
#F3355A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370942

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

Preview Lab → · Contrast checker → · Palette generator →

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