#371574#371574

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

Color values

HEX#371574
RGBrgb(55, 21, 116)
HSLhsl(261, 69%, 27%)
HSVhsv(261, 82%, 45%)
CMYKcmyk(52.6%, 81.9%, 0%, 54.5%)
CIE-LABlab(18.41, 38.99, -47.86)
CIE-LCHlch(18.41, 61.73, 309.16°)
OKLaboklab(31.43% 0.0548 -0.1375)
OKLCHoklch(31.43% 0.148 291.7)
XYZxyz(4.9952, 2.6093, 16.7601)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371574 #527415
analogous
#152274 #371574 #671574
triadic
#371574 #743715 #157437
tetradic
#371574 #741522 #527415 #157467
square
#371574 #741522 #527415 #157467
split-complementary
#371574 #746715 #227415
monochromatic
#0C051A #1E0C40 #371574 #501EA8 #692BD9

Accessibility & contrast

On white

13.80
#371574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371574
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371574#FFFFFF#000000##FFFFFF
##3715741.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371574;
/* rgb */ color: rgb(55, 21, 116);
/* oklch */ color: oklch(31.4% 0.148 291.7);
Tailwind
colors: {
  custom: {
    50: '#75579d',
    500: '#371574',
    950: '#000000',
  },
}
SCSS
$custom: #371574;
$custom-light: #75579d;
$custom-dark: #000000;
JSON
{
  "hex": "#371574",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 261.474,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31434,
    "c": 0.148,
    "h": 291.7
  },
  "luminance": 0.0261
}

Semantic roles & 50–950 ramp

primary
#371574
secondary
#82AA3B
accent
#EC3CAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371574

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

Preview Lab → · Contrast checker → · Palette generator →

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