#370F3F#370F3F

#370F3F is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.094 H 320.5°. Best body text is #FFFFFF at 16.12:1 contrast (WCAG AA passes).

Color values

HEX#370F3F
RGBrgb(55, 15, 63)
HSLhsl(290, 62%, 15%)
HSVhsv(290, 76%, 25%)
CMYKcmyk(12.7%, 76.2%, 0%, 75.3%)
CIE-LABlab(12.69, 27.83, -21.45)
CIE-LCHlch(12.69, 35.14, 322.37°)
OKLaboklab(25.94% 0.0728 -0.0599)
OKLCHoklch(25.94% 0.094 320.5)
XYZxyz(2.6435, 1.5129, 4.8544)
Luminance0.0151 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F3F #173F0F
analogous
#1F0F3F #370F3F #3F0F2F
triadic
#370F3F #3F370F #0F3F37
tetradic
#370F3F #3F1F0F #173F0F #0F2F3F
square
#370F3F #3F1F0F #173F0F #0F2F3F
split-complementary
#370F3F #2F3F0F #0F3F1F
monochromatic
#160619 #160619 #370F3F #621B70 #8D27A2

Accessibility & contrast

On white

16.12
#370F3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#370F3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F3F
16.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F3F#FFFFFF#000000##FFFFFF
##370F3F1.0016.121.3016.12
#FFFFFF16.121.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021E40
Deuteranopia (green-blind)
#14223E
Tritanopia (blue-blind)
#371725
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #370f3f;
/* rgb */ color: rgb(55, 15, 63);
/* oklch */ color: oklch(25.9% 0.094 320.5);
Tailwind
colors: {
  custom: {
    50: '#705174',
    500: '#370f3f',
    950: '#000000',
  },
}
SCSS
$custom: #370f3f;
$custom-light: #705174;
$custom-dark: #000000;
JSON
{
  "hex": "#370f3f",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 63
  },
  "hsl": {
    "h": 290,
    "s": 61.538,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25939,
    "c": 0.09431,
    "h": 320.5
  },
  "luminance": 0.01513
}

Semantic roles & 50–950 ramp

primary
#370F3F
secondary
#3D7930
accent
#E5435E
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370F3F

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

Preview Lab → · Contrast checker → · Palette generator →

#370F3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva