#371368#371368

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

Color values

HEX#371368
RGBrgb(55, 19, 104)
HSLhsl(265, 69%, 24%)
HSVhsv(265, 82%, 41%)
CMYKcmyk(47.1%, 81.7%, 0%, 59.2%)
CIE-LABlab(16.88, 36.53, -42.56)
CIE-LCHlch(16.88, 56.09, 310.64°)
OKLaboklab(30% 0.0603 -0.1219)
OKLCHoklch(30% 0.136 296.3)
XYZxyz(4.3064, 2.2773, 13.3067)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371368 #446813
analogous
#131968 #371368 #621368
triadic
#371368 #683713 #136837
tetradic
#371368 #681319 #446813 #136862
square
#371368 #681319 #446813 #136862
split-complementary
#371368 #686213 #196813
monochromatic
#0E051A #1C0A34 #371368 #521C9C #6E26CF

Accessibility & contrast

On white

14.43
#371368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371368
14.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371368#FFFFFF#000000##FFFFFF
##3713681.0014.431.4614.43
#FFFFFF14.431.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #371368;
/* rgb */ color: rgb(55, 19, 104);
/* oklch */ color: oklch(30.0% 0.136 296.3);
Tailwind
colors: {
  custom: {
    50: '#745594',
    500: '#371368',
    950: '#000000',
  },
}
SCSS
$custom: #371368;
$custom-light: #745594;
$custom-dark: #000000;
JSON
{
  "hex": "#371368",
  "rgb": {
    "r": 55,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 265.412,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.30004,
    "c": 0.13603,
    "h": 296.3
  },
  "luminance": 0.02277
}

Semantic roles & 50–950 ramp

primary
#371368
secondary
#739F37
accent
#EC3CA1
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371368

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

Preview Lab → · Contrast checker → · Palette generator →

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