#370239#370239

#370239 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.107 H 326.6°. Best body text is #FFFFFF at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#370239
RGBrgb(55, 2, 57)
HSLhsl(298, 93%, 12%)
HSVhsv(298, 96%, 22%)
CMYKcmyk(3.5%, 96.5%, 0%, 77.6%)
CIE-LABlab(10.19, 32.47, -21.16)
CIE-LCHlch(10.19, 38.75, 326.91°)
OKLaboklab(24.02% 0.0894 -0.0589)
OKLCHoklch(24.02% 0.107 326.6)
XYZxyz(2.3357, 1.1512, 3.9693)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370239 #043902
analogous
#1C0239 #370239 #390220
triadic
#370239 #393702 #023937
tetradic
#370239 #391C02 #043902 #022039
square
#370239 #391C02 #043902 #022039
split-complementary
#370239 #203902 #02391C
monochromatic
#1D011E #1D011E #370239 #700474 #A906AF

Accessibility & contrast

On white

17.07
#370239 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#370239 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370239
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370239#FFFFFF#000000##FFFFFF
##3702391.0017.071.2317.07
#FFFFFF17.071.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183A
Deuteranopia (green-blind)
#101E38
Tritanopia (blue-blind)
#390C1E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #370239;
/* rgb */ color: rgb(55, 2, 57);
/* oklch */ color: oklch(24.0% 0.107 326.6);
Tailwind
colors: {
  custom: {
    50: '#714b70',
    500: '#370239',
    950: '#000000',
  },
}
SCSS
$custom: #370239;
$custom-light: #714b70;
$custom-dark: #000000;
JSON
{
  "hex": "#370239",
  "rgb": {
    "r": 55,
    "g": 2,
    "b": 57
  },
  "hsl": {
    "h": 297.818,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.24022,
    "c": 0.1071,
    "h": 326.6
  },
  "luminance": 0.01151
}

Semantic roles & 50–950 ramp

primary
#370239
secondary
#1E7D1A
accent
#FF2931
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080107
muted
#7B777A

Preview Lab

Preview with #370239

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

Preview Lab → · Contrast checker → · Palette generator →

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