#370E5F#370E5F

#370E5F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.131 H 301.0°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#370E5F
RGBrgb(55, 14, 95)
HSLhsl(270, 74%, 21%)
HSVhsv(270, 85%, 37%)
CMYKcmyk(42.1%, 85.3%, 0%, 62.7%)
CIE-LABlab(15.24, 36.30, -39.30)
CIE-LCHlch(15.24, 53.49, 312.73°)
OKLaboklab(28.59% 0.0675 -0.1123)
OKLCHoklch(28.59% 0.131 301)
XYZxyz(3.7976, 1.9525, 11.0010)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370E5F #365F0E
analogous
#0E0E5F #370E5F #5F0E5F
triadic
#370E5F #5F370E #0E5F37
tetradic
#370E5F #5F0E0E #365F0E #0E5F5F
square
#370E5F #5F0E0E #365F0E #0E5F5F
split-complementary
#370E5F #5F5F0E #0E5F0E
monochromatic
#0F041B #18062A #370E5F #561694 #751ECA

Accessibility & contrast

On white

15.10
#370E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370E5F
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370E5F#FFFFFF#000000##FFFFFF
##370E5F1.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002661
Deuteranopia (green-blind)
#00265D
Tritanopia (blue-blind)
#2E2437
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #370e5f;
/* rgb */ color: rgb(55, 14, 95);
/* oklch */ color: oklch(28.6% 0.131 301.0);
Tailwind
colors: {
  custom: {
    50: '#73528d',
    500: '#370e5f',
    950: '#000000',
  },
}
SCSS
$custom: #370e5f;
$custom-light: #73528d;
$custom-dark: #000000;
JSON
{
  "hex": "#370e5f",
  "rgb": {
    "r": 55,
    "g": 14,
    "b": 95
  },
  "hsl": {
    "h": 270.37,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28588,
    "c": 0.13105,
    "h": 301
  },
  "luminance": 0.01953
}

Semantic roles & 50–950 ramp

primary
#370E5F
secondary
#649930
accent
#F13793
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #370E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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