#371658#371658

#371658 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.113 H 302.7°. Best body text is #FFFFFF at 14.81:1 contrast (WCAG AA passes).

Color values

HEX#371658
RGBrgb(55, 22, 88)
HSLhsl(270, 60%, 22%)
HSVhsv(270, 75%, 35%)
CMYKcmyk(37.5%, 75%, 0%, 65.5%)
CIE-LABlab(15.96, 30.54, -33.43)
CIE-LCHlch(15.96, 45.28, 312.41°)
OKLaboklab(28.9% 0.0612 -0.0951)
OKLCHoklch(28.9% 0.113 302.7)
XYZxyz(3.6235, 2.0906, 9.4433)
Luminance0.0209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371658 #375816
analogous
#161658 #371658 #581658
triadic
#371658 #583716 #165837
tetradic
#371658 #581616 #375816 #165858
square
#371658 #581616 #375816 #165858
split-complementary
#371658 #585816 #165816
monochromatic
#0F0618 #180A27 #371658 #562289 #742EBA

Accessibility & contrast

On white

14.81
#371658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#371658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371658
14.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371658#FFFFFF#000000##FFFFFF
##3716581.0014.811.4214.81
#FFFFFF14.811.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#302535
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371658;
/* rgb */ color: rgb(55, 22, 88);
/* oklch */ color: oklch(28.9% 0.113 302.7);
Tailwind
colors: {
  custom: {
    50: '#715688',
    500: '#371658',
    950: '#000000',
  },
}
SCSS
$custom: #371658;
$custom-light: #715688;
$custom-dark: #000000;
JSON
{
  "hex": "#371658",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 270,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28898,
    "c": 0.1131,
    "h": 302.7
  },
  "luminance": 0.02091
}

Semantic roles & 50–950 ramp

primary
#371658
secondary
#658F3B
accent
#E34594
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #371658

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

Preview Lab → · Contrast checker → · Palette generator →

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