#370F52#370F52

#370F52 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.115 H 307.5°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#370F52
RGBrgb(55, 15, 82)
HSLhsl(276, 69%, 19%)
HSVhsv(276, 82%, 32%)
CMYKcmyk(32.9%, 81.7%, 0%, 67.8%)
CIE-LABlab(14.19, 32.47, -32.23)
CIE-LCHlch(14.19, 45.75, 315.21°)
OKLaboklab(27.49% 0.0703 -0.0916)
OKLCHoklch(27.49% 0.115 307.5)
XYZxyz(3.2690, 1.7631, 8.1491)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F52 #2A520F
analogous
#160F52 #370F52 #520F4C
triadic
#370F52 #52370F #0F5237
tetradic
#370F52 #52160F #2A520F #0F4C52
square
#370F52 #52160F #2A520F #0F4C52
split-complementary
#370F52 #4C520F #0F5216
monochromatic
#11051A #14061E #370F52 #5A1886 #7C22B9

Accessibility & contrast

On white

15.53
#370F52 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#370F52 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F52
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F52#FFFFFF#000000##FFFFFF
##370F521.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002354
Deuteranopia (green-blind)
#002451
Tritanopia (blue-blind)
#331F30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #370f52;
/* rgb */ color: rgb(55, 15, 82);
/* oklch */ color: oklch(27.5% 0.115 307.5);
Tailwind
colors: {
  custom: {
    50: '#715283',
    500: '#370f52',
    950: '#000000',
  },
}
SCSS
$custom: #370f52;
$custom-light: #715283;
$custom-dark: #000000;
JSON
{
  "hex": "#370f52",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 82
  },
  "hsl": {
    "h": 275.821,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.27485,
    "c": 0.11542,
    "h": 307.5
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#370F52
secondary
#568C31
accent
#EC3C83
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370F52

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

Preview Lab → · Contrast checker → · Palette generator →

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