#370C54#370C54

#370C54 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.3% C 0.121 H 306.9°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#370C54
RGBrgb(55, 12, 84)
HSLhsl(276, 75%, 19%)
HSVhsv(276, 86%, 33%)
CMYKcmyk(34.5%, 85.7%, 0%, 67.1%)
CIE-LABlab(13.92, 34.28, -34.04)
CIE-LCHlch(13.92, 48.31, 315.20°)
OKLaboklab(27.35% 0.0727 -0.0968)
OKLCHoklch(27.35% 0.121 306.9)
XYZxyz(3.3069, 1.7153, 8.5427)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370C54 #29540C
analogous
#130C54 #370C54 #540C4D
triadic
#370C54 #54370C #0C5437
tetradic
#370C54 #54130C #29540C #0C4D54
square
#370C54 #54130C #29540C #0C4D54
split-complementary
#370C54 #4D540C #0C5413
monochromatic
#12041B #14041E #370C54 #5A148A #7D1BBF

Accessibility & contrast

On white

15.64
#370C54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370C54
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370C54#FFFFFF#000000##FFFFFF
##370C541.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002256
Deuteranopia (green-blind)
#002453
Tritanopia (blue-blind)
#321F30
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370c54;
/* rgb */ color: rgb(55, 12, 84);
/* oklch */ color: oklch(27.3% 0.121 306.9);
Tailwind
colors: {
  custom: {
    50: '#725185',
    500: '#370c54',
    950: '#000000',
  },
}
SCSS
$custom: #370c54;
$custom-light: #725185;
$custom-dark: #000000;
JSON
{
  "hex": "#370c54",
  "rgb": {
    "r": 55,
    "g": 12,
    "b": 84
  },
  "hsl": {
    "h": 275.833,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27347,
    "c": 0.12111,
    "h": 306.9
  },
  "luminance": 0.01715
}

Semantic roles & 50–950 ramp

primary
#370C54
secondary
#548F2D
accent
#F23682
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370C54

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

Preview Lab → · Contrast checker → · Palette generator →

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