#370F5D#370F5D

#370F5D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.128 H 301.8°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#370F5D
RGBrgb(55, 15, 93)
HSLhsl(271, 72%, 21%)
HSVhsv(271, 84%, 36%)
CMYKcmyk(40.9%, 83.9%, 0%, 63.5%)
CIE-LABlab(15.19, 35.34, -38.03)
CIE-LCHlch(15.19, 51.92, 312.90°)
OKLaboklab(28.5% 0.0673 -0.1086)
OKLCHoklch(28.5% 0.128 301.8)
XYZxyz(3.7217, 1.9442, 10.5330)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F5D #355D0F
analogous
#100F5D #370F5D #5D0F5C
triadic
#370F5D #5D370F #0F5D37
tetradic
#370F5D #5D100F #355D0F #0F5C5D
square
#370F5D #5D100F #355D0F #0F5C5D
split-complementary
#370F5D #5C5D0F #0F5D10
monochromatic
#10041A #180628 #370F5D #561792 #7520C6

Accessibility & contrast

On white

15.12
#370F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#370F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F5D
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F5D#FFFFFF#000000##FFFFFF
##370F5D1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265F
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#2F2436
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #370f5d;
/* rgb */ color: rgb(55, 15, 93);
/* oklch */ color: oklch(28.5% 0.128 301.8);
Tailwind
colors: {
  custom: {
    50: '#72538c',
    500: '#370f5d',
    950: '#000000',
  },
}
SCSS
$custom: #370f5d;
$custom-light: #72538c;
$custom-dark: #000000;
JSON
{
  "hex": "#370f5d",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 93
  },
  "hsl": {
    "h": 270.769,
    "s": 72.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28498,
    "c": 0.12777,
    "h": 301.8
  },
  "luminance": 0.01944
}

Semantic roles & 50–950 ramp

primary
#370F5D
secondary
#639631
accent
#EF3992
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #370F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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