#371670#371670

#371670 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.142 H 292.8°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#371670
RGBrgb(55, 22, 112)
HSLhsl(262, 67%, 26%)
HSVhsv(262, 80%, 44%)
CMYKcmyk(50.9%, 80.4%, 0%, 56.1%)
CIE-LABlab(18.17, 37.36, -45.67)
CIE-LCHlch(18.17, 59.00, 309.29°)
OKLaboklab(31.15% 0.0552 -0.1311)
OKLCHoklch(31.15% 0.142 292.8)
XYZxyz(4.7863, 2.5557, 15.5672)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371670 #4F7016
analogous
#162270 #371670 #641670
triadic
#371670 #703716 #167037
tetradic
#371670 #701622 #4F7016 #167064
square
#371670 #701622 #4F7016 #167064
split-complementary
#371670 #706416 #227016
monochromatic
#0D051A #1E0C3D #371670 #5020A3 #692BD5

Accessibility & contrast

On white

13.90
#371670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#371670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371670
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371670#FFFFFF#000000##FFFFFF
##3716701.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#252F42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #371670;
/* rgb */ color: rgb(55, 22, 112);
/* oklch */ color: oklch(31.1% 0.142 292.8);
Tailwind
colors: {
  custom: {
    50: '#75579a',
    500: '#371670',
    950: '#000000',
  },
}
SCSS
$custom: #371670;
$custom-light: #75579a;
$custom-dark: #000000;
JSON
{
  "hex": "#371670",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 262,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31146,
    "c": 0.14222,
    "h": 292.8
  },
  "luminance": 0.02556
}

Semantic roles & 50–950 ramp

primary
#371670
secondary
#7FA63C
accent
#EA3EAB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371670

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

Preview Lab → · Contrast checker → · Palette generator →

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