#370E4F#370E4F

#370E4F is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.1% C 0.113 H 309.4°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#370E4F
RGBrgb(55, 14, 79)
HSLhsl(278, 70%, 18%)
HSVhsv(278, 82%, 31%)
CMYKcmyk(30.4%, 82.3%, 0%, 69%)
CIE-LABlab(13.77, 32.16, -30.86)
CIE-LCHlch(13.77, 44.57, 316.19°)
OKLaboklab(27.11% 0.072 -0.0875)
OKLCHoklch(27.11% 0.113 309.4)
XYZxyz(3.1436, 1.6909, 7.5564)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370E4F #264F0E
analogous
#160E4F #370E4F #4F0E46
triadic
#370E4F #4F370E #0E4F37
tetradic
#370E4F #4F160E #264F0E #0E464F
square
#370E4F #4F160E #264F0E #0E464F
split-complementary
#370E4F #464F0E #0E4F16
monochromatic
#12051A #13051B #370E4F #5B1783 #7F20B7

Accessibility & contrast

On white

15.69
#370E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370E4F
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370E4F#FFFFFF#000000##FFFFFF
##370E4F1.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002151
Deuteranopia (green-blind)
#00244E
Tritanopia (blue-blind)
#331E2E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #370e4f;
/* rgb */ color: rgb(55, 14, 79);
/* oklch */ color: oklch(27.1% 0.113 309.4);
Tailwind
colors: {
  custom: {
    50: '#715181',
    500: '#370e4f',
    950: '#000000',
  },
}
SCSS
$custom: #370e4f;
$custom-light: #715181;
$custom-dark: #000000;
JSON
{
  "hex": "#370e4f",
  "rgb": {
    "r": 55,
    "g": 14,
    "b": 79
  },
  "hsl": {
    "h": 277.846,
    "s": 69.892,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27109,
    "c": 0.11332,
    "h": 309.4
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#370E4F
secondary
#518A2F
accent
#ED3B7D
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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