#371685#371685

#371685 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.167 H 286.8°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#371685
RGBrgb(55, 22, 133)
HSLhsl(258, 72%, 30%)
HSVhsv(258, 83%, 52%)
CMYKcmyk(58.6%, 83.5%, 0%, 47.8%)
CIE-LABlab(20.36, 43.41, -55.48)
CIE-LCHlch(20.36, 70.45, 308.04°)
OKLaboklab(33.33% 0.0482 -0.1598)
OKLCHoklch(33.33% 0.167 286.8)
XYZxyz(6.0948, 3.0792, 22.4589)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371685 #648516
analogous
#162C85 #371685 #6E1685
triadic
#371685 #853716 #168537
tetradic
#371685 #85162C #648516 #16856E
square
#371685 #85162C #648516 #16856E
split-complementary
#371685 #856E16 #2C8516
monochromatic
#0C051C #210D50 #371685 #4D1FBA #6937DE

Accessibility & contrast

On white

13.00
#371685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#371685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371685
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371685#FFFFFF#000000##FFFFFF
##3716851.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#11384E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #371685;
/* rgb */ color: rgb(55, 22, 133);
/* oklch */ color: oklch(33.3% 0.167 286.8);
Tailwind
colors: {
  custom: {
    50: '#7859aa',
    500: '#371685',
    950: '#000000',
  },
}
SCSS
$custom: #371685;
$custom-light: #7859aa;
$custom-dark: #000000;
JSON
{
  "hex": "#371685",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 257.838,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33327,
    "c": 0.16688,
    "h": 286.8
  },
  "luminance": 0.03079
}

Semantic roles & 50–950 ramp

primary
#371685
secondary
#94B93E
accent
#EE39B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #371685

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

Preview Lab → · Contrast checker → · Palette generator →

#371685 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva