#370D53#370D53

#370D53 is a dark, moderate violet. Relative luminance 0.017; OKLCH L 27.4% C 0.119 H 307.3°. Best body text is #FFFFFF at 15.61:1 contrast (WCAG AA passes).

Color values

HEX#370D53
RGBrgb(55, 13, 83)
HSLhsl(276, 73%, 19%)
HSVhsv(276, 84%, 33%)
CMYKcmyk(33.7%, 84.3%, 0%, 67.5%)
CIE-LABlab(13.97, 33.61, -33.27)
CIE-LCHlch(13.97, 47.29, 315.29°)
OKLaboklab(27.36% 0.0721 -0.0946)
OKLCHoklch(27.36% 0.119 307.3)
XYZxyz(3.2805, 1.7246, 8.3420)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370D53 #29530D
analogous
#140D53 #370D53 #530D4C
triadic
#370D53 #53370D #0D5337
tetradic
#370D53 #53140D #29530D #0D4C53
square
#370D53 #53140D #29530D #0D4C53
split-complementary
#370D53 #4C530D #0D5314
monochromatic
#12041A #14051E #370D53 #5A1588 #7D1EBD

Accessibility & contrast

On white

15.61
#370D53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#370D53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370D53
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370D53#FFFFFF#000000##FFFFFF
##370D531.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002255
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#321F30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #370d53;
/* rgb */ color: rgb(55, 13, 83);
/* oklch */ color: oklch(27.4% 0.119 307.3);
Tailwind
colors: {
  custom: {
    50: '#715184',
    500: '#370d53',
    950: '#000000',
  },
}
SCSS
$custom: #370d53;
$custom-light: #715184;
$custom-dark: #000000;
JSON
{
  "hex": "#370d53",
  "rgb": {
    "r": 55,
    "g": 13,
    "b": 83
  },
  "hsl": {
    "h": 276,
    "s": 72.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.27357,
    "c": 0.11891,
    "h": 307.3
  },
  "luminance": 0.01725
}

Semantic roles & 50–950 ramp

primary
#370D53
secondary
#548E2E
accent
#F03882
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08020B
muted
#7B787C

Preview Lab

Preview with #370D53

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

Preview Lab → · Contrast checker → · Palette generator →

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