#370F5C#370F5C

#370F5C is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.127 H 302.3°. Best body text is #FFFFFF at 15.16:1 contrast (WCAG AA passes).

Color values

HEX#370F5C
RGBrgb(55, 15, 92)
HSLhsl(271, 72%, 21%)
HSVhsv(271, 84%, 36%)
CMYKcmyk(40.2%, 83.7%, 0%, 63.9%)
CIE-LABlab(15.10, 35.08, -37.52)
CIE-LCHlch(15.10, 51.36, 313.07°)
OKLaboklab(28.4% 0.0676 -0.1071)
OKLCHoklch(28.4% 0.127 302.3)
XYZxyz(3.6777, 1.9266, 10.3013)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F5C #345C0F
analogous
#100F5C #370F5C #5C0F5A
triadic
#370F5C #5C370F #0F5C37
tetradic
#370F5C #5C100F #345C0F #0F5A5C
square
#370F5C #5C100F #345C0F #0F5A5C
split-complementary
#370F5C #5A5C0F #0F5C10
monochromatic
#10041A #180627 #370F5C #561891 #7620C5

Accessibility & contrast

On white

15.16
#370F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370F5C
15.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F5C#FFFFFF#000000##FFFFFF
##370F5C1.0015.161.3915.16
#FFFFFF15.161.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255E
Deuteranopia (green-blind)
#00265B
Tritanopia (blue-blind)
#2F2435
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #370f5c;
/* rgb */ color: rgb(55, 15, 92);
/* oklch */ color: oklch(28.4% 0.127 302.3);
Tailwind
colors: {
  custom: {
    50: '#72538b',
    500: '#370f5c',
    950: '#000000',
  },
}
SCSS
$custom: #370f5c;
$custom-light: #72538b;
$custom-dark: #000000;
JSON
{
  "hex": "#370f5c",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 271.169,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28403,
    "c": 0.12665,
    "h": 302.3
  },
  "luminance": 0.01927
}

Semantic roles & 50–950 ramp

primary
#370F5C
secondary
#619531
accent
#EF3990
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #370F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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