#371565#371565

#371565 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.130 H 297.1°. Best body text is #FFFFFF at 14.41:1 contrast (WCAG AA passes).

Color values

HEX#371565
RGBrgb(55, 21, 101)
HSLhsl(266, 66%, 24%)
HSVhsv(266, 79%, 40%)
CMYKcmyk(45.5%, 79.2%, 0%, 60.4%)
CIE-LABlab(16.93, 34.71, -40.50)
CIE-LCHlch(16.93, 53.34, 310.60°)
OKLaboklab(29.95% 0.0593 -0.1159)
OKLCHoklch(29.95% 0.13 297.1)
XYZxyz(4.1921, 2.2881, 12.5302)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371565 #436515
analogous
#151B65 #371565 #5F1565
triadic
#371565 #653715 #156537
tetradic
#371565 #65151B #436515 #15655F
square
#371565 #65151B #436515 #15655F
split-complementary
#371565 #655F15 #1B6515
monochromatic
#0E0519 #1B0A32 #371565 #532098 #6E2ACA

Accessibility & contrast

On white

14.41
#371565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#371565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371565
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371565#FFFFFF#000000##FFFFFF
##3715651.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#2B2A3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371565;
/* rgb */ color: rgb(55, 21, 101);
/* oklch */ color: oklch(30.0% 0.130 297.1);
Tailwind
colors: {
  custom: {
    50: '#735692',
    500: '#371565',
    950: '#000000',
  },
}
SCSS
$custom: #371565;
$custom-light: #735692;
$custom-dark: #000000;
JSON
{
  "hex": "#371565",
  "rgb": {
    "r": 55,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 265.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29951,
    "c": 0.13021,
    "h": 297.1
  },
  "luminance": 0.02288
}

Semantic roles & 50–950 ramp

primary
#371565
secondary
#729C3A
accent
#E93FA1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371565

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

Preview Lab → · Contrast checker → · Palette generator →

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