#370D58#370D58

#370D58 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.124 H 304.6°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#370D58
RGBrgb(55, 13, 88)
HSLhsl(274, 74%, 20%)
HSVhsv(274, 85%, 35%)
CMYKcmyk(37.5%, 85.2%, 0%, 65.5%)
CIE-LABlab(14.43, 34.89, -35.92)
CIE-LCHlch(14.43, 50.07, 314.16°)
OKLaboklab(27.82% 0.0706 -0.1024)
OKLCHoklch(27.82% 0.124 304.6)
XYZxyz(3.4805, 1.8047, 9.3956)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D58 #2E580D
analogous
#120D58 #370D58 #580D54
triadic
#370D58 #58370D #0D5837
tetradic
#370D58 #58120D #2E580D #0D5458
square
#370D58 #58120D #2E580D #0D5458
split-complementary
#370D58 #54580D #0D5812
monochromatic
#11041B #160523 #370D58 #58158D #7A1DC3

Accessibility & contrast

On white

15.43
#370D58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#370D58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D58
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D58#FFFFFF#000000##FFFFFF
##370D581.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00235A
Deuteranopia (green-blind)
#002457
Tritanopia (blue-blind)
#312133
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #370d58;
/* rgb */ color: rgb(55, 13, 88);
/* oklch */ color: oklch(27.8% 0.124 304.6);
Tailwind
colors: {
  custom: {
    50: '#725288',
    500: '#370d58',
    950: '#000000',
  },
}
SCSS
$custom: #370d58;
$custom-light: #725288;
$custom-dark: #000000;
JSON
{
  "hex": "#370d58",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 88
  },
  "hsl": {
    "h": 273.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27819,
    "c": 0.12439,
    "h": 304.6
  },
  "luminance": 0.01805
}

Semantic roles & 50–950 ramp

primary
#370D58
secondary
#5A932E
accent
#F13789
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370D58

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

Preview Lab → · Contrast checker → · Palette generator →

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