#371865#371865

#371865 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.126 H 296.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#371865
RGBrgb(55, 24, 101)
HSLhsl(264, 62%, 25%)
HSVhsv(264, 76%, 40%)
CMYKcmyk(45.5%, 76.2%, 0%, 60.4%)
CIE-LABlab(17.48, 33.15, -39.60)
CIE-LCHlch(17.48, 51.65, 309.93°)
OKLaboklab(30.34% 0.0563 -0.1133)
OKLCHoklch(30.34% 0.126 296.4)
XYZxyz(4.2505, 2.4050, 12.5497)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371865 #466518
analogous
#182065 #371865 #5E1865
triadic
#371865 #653718 #186537
tetradic
#371865 #651820 #466518 #18655E
square
#371865 #651820 #466518 #18655E
split-complementary
#371865 #655E18 #206518
monochromatic
#0D0619 #1C0C34 #371865 #522496 #6D30C8

Accessibility & contrast

On white

14.18
#371865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#371865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371865
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371865#FFFFFF#000000##FFFFFF
##3718651.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#2B2C3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371865;
/* rgb */ color: rgb(55, 24, 101);
/* oklch */ color: oklch(30.3% 0.126 296.4);
Tailwind
colors: {
  custom: {
    50: '#735892',
    500: '#371865',
    950: '#000000',
  },
}
SCSS
$custom: #371865;
$custom-light: #735892;
$custom-dark: #000000;
JSON
{
  "hex": "#371865",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 264.156,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30341,
    "c": 0.12649,
    "h": 296.4
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#371865
secondary
#769B3E
accent
#E543A4
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371865

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

Preview Lab → · Contrast checker → · Palette generator →

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