#371673#371673

#371673 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.146 H 291.9°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#371673
RGBrgb(55, 22, 115)
HSLhsl(261, 68%, 27%)
HSVhsv(261, 81%, 45%)
CMYKcmyk(52.2%, 80.9%, 0%, 54.9%)
CIE-LABlab(18.47, 38.22, -47.12)
CIE-LCHlch(18.47, 60.67, 309.05°)
OKLaboklab(31.45% 0.0543 -0.1353)
OKLCHoklch(31.45% 0.146 291.9)
XYZxyz(4.9561, 2.6237, 16.4616)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371673 #527316
analogous
#162473 #371673 #661673
triadic
#371673 #733716 #167337
tetradic
#371673 #731624 #527316 #167366
square
#371673 #731624 #527316 #167366
split-complementary
#371673 #736616 #247316
monochromatic
#0C051A #1E0C40 #371673 #5020A6 #692DD7

Accessibility & contrast

On white

13.77
#371673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#371673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371673
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371673#FFFFFF#000000##FFFFFF
##3716731.0013.771.5213.77
#FFFFFF13.771.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#233044
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371673;
/* rgb */ color: rgb(55, 22, 115);
/* oklch */ color: oklch(31.4% 0.146 291.9);
Tailwind
colors: {
  custom: {
    50: '#75589c',
    500: '#371673',
    950: '#000000',
  },
}
SCSS
$custom: #371673;
$custom-light: #75589c;
$custom-dark: #000000;
JSON
{
  "hex": "#371673",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 261.29,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31447,
    "c": 0.14579,
    "h": 291.9
  },
  "luminance": 0.02624
}

Semantic roles & 50–950 ramp

primary
#371673
secondary
#82A93C
accent
#EB3DAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371673

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

Preview Lab → · Contrast checker → · Palette generator →

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