#370F5F#370F5F

#370F5F is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.130 H 300.9°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#370F5F
RGBrgb(55, 15, 95)
HSLhsl(270, 73%, 22%)
HSVhsv(270, 84%, 37%)
CMYKcmyk(42.1%, 84.2%, 0%, 62.7%)
CIE-LABlab(15.38, 35.87, -39.06)
CIE-LCHlch(15.38, 53.03, 312.57°)
OKLaboklab(28.69% 0.0667 -0.1116)
OKLCHoklch(28.69% 0.13 300.9)
XYZxyz(3.8114, 1.9801, 11.0056)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F5F #375F0F
analogous
#0F0F5F #370F5F #5F0F5F
triadic
#370F5F #5F370F #0F5F37
tetradic
#370F5F #5F0F0F #375F0F #0F5F5F
square
#370F5F #5F0F0F #375F0F #0F5F5F
split-complementary
#370F5F #5F5F0F #0F5F0F
monochromatic
#0F041A #18072A #370F5F #561794 #7420C9

Accessibility & contrast

On white

15.04
#370F5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#370F5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F5F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F5F#FFFFFF#000000##FFFFFF
##370F5F1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #370f5f;
/* rgb */ color: rgb(55, 15, 95);
/* oklch */ color: oklch(28.7% 0.130 300.9);
Tailwind
colors: {
  custom: {
    50: '#73538d',
    500: '#370f5f',
    950: '#000000',
  },
}
SCSS
$custom: #370f5f;
$custom-light: #73538d;
$custom-dark: #000000;
JSON
{
  "hex": "#370f5f",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 95
  },
  "hsl": {
    "h": 270,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.2869,
    "c": 0.13002,
    "h": 300.9
  },
  "luminance": 0.0198
}

Semantic roles & 50–950 ramp

primary
#370F5F
secondary
#659832
accent
#EF3894
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #370F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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