#371465#371465

#371465 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.8% C 0.131 H 297.3°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#371465
RGBrgb(55, 20, 101)
HSLhsl(266, 67%, 24%)
HSVhsv(266, 80%, 40%)
CMYKcmyk(45.5%, 80.2%, 0%, 60.4%)
CIE-LABlab(16.76, 35.21, -40.79)
CIE-LCHlch(16.76, 53.88, 310.80°)
OKLaboklab(29.83% 0.0603 -0.1167)
OKLCHoklch(29.83% 0.131 297.3)
XYZxyz(4.1741, 2.2520, 12.5242)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371465 #426514
analogous
#141965 #371465 #5F1465
triadic
#371465 #653714 #146537
tetradic
#371465 #651419 #426514 #14655F
square
#371465 #651419 #426514 #14655F
split-complementary
#371465 #655F14 #196514
monochromatic
#0E051A #1B0A32 #371465 #531E98 #6F28CB

Accessibility & contrast

On white

14.48
#371465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#371465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371465
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371465#FFFFFF#000000##FFFFFF
##3714651.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371465;
/* rgb */ color: rgb(55, 20, 101);
/* oklch */ color: oklch(29.8% 0.131 297.3);
Tailwind
colors: {
  custom: {
    50: '#735692',
    500: '#371465',
    950: '#000000',
  },
}
SCSS
$custom: #371465;
$custom-light: #735692;
$custom-dark: #000000;
JSON
{
  "hex": "#371465",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 101
  },
  "hsl": {
    "h": 265.926,
    "s": 66.942,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29829,
    "c": 0.13138,
    "h": 297.3
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#371465
secondary
#719C39
accent
#EA3EA0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371465

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

Preview Lab → · Contrast checker → · Palette generator →

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