#371468#371468

#371468 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.135 H 296.1°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#371468
RGBrgb(55, 20, 104)
HSLhsl(265, 68%, 24%)
HSVhsv(265, 81%, 41%)
CMYKcmyk(47.1%, 80.8%, 0%, 59.2%)
CIE-LABlab(17.05, 36.05, -42.29)
CIE-LCHlch(17.05, 55.57, 310.45°)
OKLaboklab(30.12% 0.0594 -0.1211)
OKLCHoklch(30.12% 0.135 296.1)
XYZxyz(4.3237, 2.3119, 13.3125)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371468 #456814
analogous
#141B68 #371468 #611468
triadic
#371468 #683714 #146837
tetradic
#371468 #68141B #456814 #146861
square
#371468 #68141B #456814 #146861
split-complementary
#371468 #686114 #1B6814
monochromatic
#0E051A #1C0A35 #371468 #521E9B #6D28CF

Accessibility & contrast

On white

14.36
#371468 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371468
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371468#FFFFFF#000000##FFFFFF
##3714681.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#2A2B3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #371468;
/* rgb */ color: rgb(55, 20, 104);
/* oklch */ color: oklch(30.1% 0.135 296.1);
Tailwind
colors: {
  custom: {
    50: '#745694',
    500: '#371468',
    950: '#000000',
  },
}
SCSS
$custom: #371468;
$custom-light: #745694;
$custom-dark: #000000;
JSON
{
  "hex": "#371468",
  "rgb": {
    "r": 55,
    "g": 20,
    "b": 104
  },
  "hsl": {
    "h": 265,
    "s": 67.742,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30119,
    "c": 0.13493,
    "h": 296.1
  },
  "luminance": 0.02312
}

Semantic roles & 50–950 ramp

primary
#371468
secondary
#749F39
accent
#EB3DA2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371468

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

Preview Lab → · Contrast checker → · Palette generator →

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