#370C3F#370C3F

#370C3F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.6% C 0.099 H 320.9°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#370C3F
RGBrgb(55, 12, 63)
HSLhsl(291, 68%, 15%)
HSVhsv(291, 81%, 25%)
CMYKcmyk(12.7%, 81%, 0%, 75.3%)
CIE-LABlab(12.18, 29.25, -22.26)
CIE-LCHlch(12.18, 36.76, 322.73°)
OKLaboklab(25.58% 0.0766 -0.0623)
OKLCHoklch(25.58% 0.099 320.9)
XYZxyz(2.6041, 1.4342, 4.8413)
Luminance0.0143 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C3F #143F0C
analogous
#1E0C3F #370C3F #3F0C2E
triadic
#370C3F #3F370C #0C3F37
tetradic
#370C3F #3F1E0C #143F0C #0C2E3F
square
#370C3F #3F1E0C #143F0C #0C2E3F
split-complementary
#370C3F #2E3F0C #0C3F1E
monochromatic
#16051A #16051A #370C3F #641672 #9120A6

Accessibility & contrast

On white

16.32
#370C3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#370C3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370C3F
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C3F#FFFFFF#000000##FFFFFF
##370C3F1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D40
Deuteranopia (green-blind)
#12213E
Tritanopia (blue-blind)
#371624
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370c3f;
/* rgb */ color: rgb(55, 12, 63);
/* oklch */ color: oklch(25.6% 0.099 320.9);
Tailwind
colors: {
  custom: {
    50: '#705074',
    500: '#370c3f',
    950: '#000000',
  },
}
SCSS
$custom: #370c3f;
$custom-light: #705074;
$custom-dark: #000000;
JSON
{
  "hex": "#370c3f",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 63
  },
  "hsl": {
    "h": 290.588,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25576,
    "c": 0.09875,
    "h": 320.9
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#370C3F
secondary
#387B2C
accent
#EB3D58
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370C3F

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

Preview Lab → · Contrast checker → · Palette generator →

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