#371674#371674

#371674 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.147 H 291.5°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#371674
RGBrgb(55, 22, 116)
HSLhsl(261, 68%, 27%)
HSVhsv(261, 81%, 45%)
CMYKcmyk(52.6%, 81%, 0%, 54.5%)
CIE-LABlab(18.57, 38.51, -47.60)
CIE-LCHlch(18.57, 61.23, 308.98°)
OKLaboklab(31.55% 0.054 -0.1367)
OKLCHoklch(31.55% 0.147 291.5)
XYZxyz(5.0139, 2.6468, 16.7663)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371674 #537416
analogous
#162474 #371674 #661674
triadic
#371674 #743716 #167437
tetradic
#371674 #741624 #537416 #167466
square
#371674 #741624 #537416 #167466
split-complementary
#371674 #746616 #247416
monochromatic
#0C051A #1F0C41 #371674 #4F20A7 #692DD7

Accessibility & contrast

On white

13.73
#371674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#371674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371674
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371674#FFFFFF#000000##FFFFFF
##3716741.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#223145
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #371674;
/* rgb */ color: rgb(55, 22, 116);
/* oklch */ color: oklch(31.5% 0.147 291.5);
Tailwind
colors: {
  custom: {
    50: '#75589d',
    500: '#371674',
    950: '#000000',
  },
}
SCSS
$custom: #371674;
$custom-light: #75589d;
$custom-dark: #000000;
JSON
{
  "hex": "#371674",
  "rgb": {
    "r": 55,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 261.064,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31548,
    "c": 0.14698,
    "h": 291.5
  },
  "luminance": 0.02647
}

Semantic roles & 50–950 ramp

primary
#371674
secondary
#83AA3C
accent
#EB3DAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371674

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

Preview Lab → · Contrast checker → · Palette generator →

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