#371863#371863

#371863 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.124 H 297.2°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#371863
RGBrgb(55, 24, 99)
HSLhsl(265, 61%, 24%)
HSVhsv(265, 76%, 39%)
CMYKcmyk(44.4%, 75.8%, 0%, 61.2%)
CIE-LABlab(17.30, 32.57, -38.58)
CIE-LCHlch(17.30, 50.49, 310.17°)
OKLaboklab(30.16% 0.0567 -0.1103)
OKLCHoklch(30.16% 0.124 297.2)
XYZxyz(4.1537, 2.3663, 12.0399)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371863 #446318
analogous
#181F63 #371863 #5D1863
triadic
#371863 #633718 #186337
tetradic
#371863 #63181F #446318 #18635D
square
#371863 #63181F #446318 #18635D
split-complementary
#371863 #635D18 #1F6318
monochromatic
#0E0619 #1C0C32 #371863 #522494 #6E30C6

Accessibility & contrast

On white

14.25
#371863 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#371863 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371863
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371863#FFFFFF#000000##FFFFFF
##3718631.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B65
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#2C2B3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371863;
/* rgb */ color: rgb(55, 24, 99);
/* oklch */ color: oklch(30.2% 0.124 297.2);
Tailwind
colors: {
  custom: {
    50: '#735890',
    500: '#371863',
    950: '#000000',
  },
}
SCSS
$custom: #371863;
$custom-light: #735890;
$custom-dark: #000000;
JSON
{
  "hex": "#371863",
  "rgb": {
    "r": 55,
    "g": 24,
    "b": 99
  },
  "hsl": {
    "h": 264.8,
    "s": 60.976,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30156,
    "c": 0.124,
    "h": 297.2
  },
  "luminance": 0.02366
}

Semantic roles & 50–950 ramp

primary
#371863
secondary
#73993E
accent
#E444A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030D
muted
#7B787D

Preview Lab

Preview with #371863

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

Preview Lab → · Contrast checker → · Palette generator →

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