#371068#371068

#371068 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.139 H 296.8°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#371068
RGBrgb(55, 16, 104)
HSLhsl(267, 73%, 24%)
HSVhsv(267, 85%, 41%)
CMYKcmyk(47.1%, 84.6%, 0%, 59.2%)
CIE-LABlab(16.42, 37.87, -43.32)
CIE-LCHlch(16.42, 57.54, 311.16°)
OKLaboklab(29.68% 0.0628 -0.1241)
OKLCHoklch(29.68% 0.139 296.8)
XYZxyz(4.2589, 2.1822, 13.2908)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371068 #416810
analogous
#101568 #371068 #631068
triadic
#371068 #683710 #106837
tetradic
#371068 #681015 #416810 #106863
square
#371068 #681015 #416810 #106863
split-complementary
#371068 #686310 #156810
monochromatic
#0E041B #1B0833 #371068 #53189D #6F20D2

Accessibility & contrast

On white

14.62
#371068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#371068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371068
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371068#FFFFFF#000000##FFFFFF
##3710681.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#2A293C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #371068;
/* rgb */ color: rgb(55, 16, 104);
/* oklch */ color: oklch(29.7% 0.139 296.8);
Tailwind
colors: {
  custom: {
    50: '#745494',
    500: '#371068',
    950: '#000000',
  },
}
SCSS
$custom: #371068;
$custom-light: #745494;
$custom-dark: #000000;
JSON
{
  "hex": "#371068",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 104
  },
  "hsl": {
    "h": 266.591,
    "s": 73.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.2968,
    "c": 0.13913,
    "h": 296.8
  },
  "luminance": 0.02182
}

Semantic roles & 50–950 ramp

primary
#371068
secondary
#70A034
accent
#F0389E
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371068

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

Preview Lab → · Contrast checker → · Palette generator →

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