#370B4F#370B4F

#370B4F is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.8% C 0.117 H 309.9°. Best body text is #FFFFFF at 15.87:1 contrast (WCAG AA passes).

Color values

HEX#370B4F
RGBrgb(55, 11, 79)
HSLhsl(279, 76%, 18%)
HSVhsv(279, 86%, 31%)
CMYKcmyk(30.4%, 86.1%, 0%, 69%)
CIE-LABlab(13.33, 33.44, -31.58)
CIE-LCHlch(13.33, 46.00, 316.64°)
OKLaboklab(26.8% 0.075 -0.0896)
OKLCHoklch(26.8% 0.117 309.9)
XYZxyz(3.1062, 1.6161, 7.5439)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370B4F #234F0B
analogous
#150B4F #370B4F #4F0B45
triadic
#370B4F #4F370B #0B4F37
tetradic
#370B4F #4F150B #234F0B #0B454F
square
#370B4F #4F150B #234F0B #0B454F
split-complementary
#370B4F #454F0B #0B4F15
monochromatic
#13041B #13041B #370B4F #5C1285 #821ABA

Accessibility & contrast

On white

15.87
#370B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#370B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370B4F
15.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370B4F#FFFFFF#000000##FFFFFF
##370B4F1.0015.871.3215.87
#FFFFFF15.871.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#341C2D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370b4f;
/* rgb */ color: rgb(55, 11, 79);
/* oklch */ color: oklch(26.8% 0.117 309.9);
Tailwind
colors: {
  custom: {
    50: '#715081',
    500: '#370b4f',
    950: '#000000',
  },
}
SCSS
$custom: #370b4f;
$custom-light: #715081;
$custom-dark: #000000;
JSON
{
  "hex": "#370b4f",
  "rgb": {
    "r": 55,
    "g": 11,
    "b": 79
  },
  "hsl": {
    "h": 278.824,
    "s": 75.556,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26796,
    "c": 0.11686,
    "h": 309.9
  },
  "luminance": 0.01616
}

Semantic roles & 50–950 ramp

primary
#370B4F
secondary
#4D8B2B
accent
#F23678
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#08020A
muted
#7B787C

Preview Lab

Preview with #370B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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