#370C52#370C52

#370C52 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.2% C 0.119 H 308.0°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#370C52
RGBrgb(55, 12, 82)
HSLhsl(277, 74%, 18%)
HSVhsv(277, 85%, 32%)
CMYKcmyk(32.9%, 85.4%, 0%, 67.8%)
CIE-LABlab(13.74, 33.78, -32.97)
CIE-LCHlch(13.74, 47.20, 315.69°)
OKLaboklab(27.17% 0.0733 -0.0937)
OKLCHoklch(27.17% 0.119 308)
XYZxyz(3.2297, 1.6844, 8.1360)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C52 #27520C
analogous
#140C52 #370C52 #520C4A
triadic
#370C52 #52370C #0C5237
tetradic
#370C52 #52140C #27520C #0C4A52
square
#370C52 #52140C #27520C #0C4A52
split-complementary
#370C52 #4A520C #0C5214
monochromatic
#12041B #13041D #370C52 #5B1487 #7F1CBD

Accessibility & contrast

On white

15.71
#370C52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#370C52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370C52
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C52#FFFFFF#000000##FFFFFF
##370C521.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002254
Deuteranopia (green-blind)
#002351
Tritanopia (blue-blind)
#331E2F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370c52;
/* rgb */ color: rgb(55, 12, 82);
/* oklch */ color: oklch(27.2% 0.119 308.0);
Tailwind
colors: {
  custom: {
    50: '#715183',
    500: '#370c52',
    950: '#000000',
  },
}
SCSS
$custom: #370c52;
$custom-light: #715183;
$custom-dark: #000000;
JSON
{
  "hex": "#370c52",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 82
  },
  "hsl": {
    "h": 276.857,
    "s": 74.468,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27165,
    "c": 0.11895,
    "h": 308
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#370C52
secondary
#528D2C
accent
#F1377F
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370C52

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

Preview Lab → · Contrast checker → · Palette generator →

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