#370F5E#370F5E

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

Color values

HEX#370F5E
RGBrgb(55, 15, 94)
HSLhsl(270, 72%, 21%)
HSVhsv(270, 84%, 37%)
CMYKcmyk(41.5%, 84%, 0%, 63.1%)
CIE-LABlab(15.29, 35.61, -38.55)
CIE-LCHlch(15.29, 52.47, 312.73°)
OKLaboklab(28.59% 0.067 -0.1101)
OKLCHoklch(28.59% 0.129 301.3)
XYZxyz(3.7663, 1.9620, 10.7678)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F5E #365E0F
analogous
#100F5E #370F5E #5E0F5E
triadic
#370F5E #5E370F #0F5E37
tetradic
#370F5E #5E100F #365E0F #0F5E5E
square
#370F5E #5E100F #365E0F #0F5E5E
split-complementary
#370F5E #5E5E0F #0F5E10
monochromatic
#0F041A #180729 #370F5E #561793 #7520C8

Accessibility & contrast

On white

15.08
#370F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370F5E
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F5E#FFFFFF#000000##FFFFFF
##370F5E1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002660
Deuteranopia (green-blind)
#00265C
Tritanopia (blue-blind)
#2E2436
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #370f5e;
/* rgb */ color: rgb(55, 15, 94);
/* oklch */ color: oklch(28.6% 0.129 301.3);
Tailwind
colors: {
  custom: {
    50: '#73538c',
    500: '#370f5e',
    950: '#000000',
  },
}
SCSS
$custom: #370f5e;
$custom-light: #73538c;
$custom-dark: #000000;
JSON
{
  "hex": "#370f5e",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 94
  },
  "hsl": {
    "h": 270.38,
    "s": 72.477,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28594,
    "c": 0.12889,
    "h": 301.3
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#370F5E
secondary
#649731
accent
#EF3993
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #370F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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