#371064#371064

#371064 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.3% C 0.135 H 298.5°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#371064
RGBrgb(55, 16, 100)
HSLhsl(268, 72%, 23%)
HSVhsv(268, 84%, 39%)
CMYKcmyk(45%, 84%, 0%, 60.8%)
CIE-LABlab(16.02, 36.78, -41.34)
CIE-LCHlch(16.02, 55.33, 311.66°)
OKLaboklab(29.28% 0.0642 -0.1183)
OKLCHoklch(29.28% 0.135 298.5)
XYZxyz(4.0605, 2.1028, 12.2461)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371064 #3D6410
analogous
#101364 #371064 #611064
triadic
#371064 #643710 #106437
tetradic
#371064 #641013 #3D6410 #106461
square
#371064 #641013 #3D6410 #106461
split-complementary
#371064 #646110 #136410
monochromatic
#0F041A #1A082F #371064 #541899 #7121CE

Accessibility & contrast

On white

14.78
#371064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#371064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371064
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371064#FFFFFF#000000##FFFFFF
##3710641.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#2C273A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371064;
/* rgb */ color: rgb(55, 16, 100);
/* oklch */ color: oklch(29.3% 0.135 298.5);
Tailwind
colors: {
  custom: {
    50: '#735491',
    500: '#371064',
    950: '#000000',
  },
}
SCSS
$custom: #371064;
$custom-light: #735491;
$custom-dark: #000000;
JSON
{
  "hex": "#371064",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 267.857,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29282,
    "c": 0.13461,
    "h": 298.5
  },
  "luminance": 0.02103
}

Semantic roles & 50–950 ramp

primary
#371064
secondary
#6C9D33
accent
#EF399A
background
#F7F5F9
surface
#EDE8F1
border
#C8C4CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #371064

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

Preview Lab → · Contrast checker → · Palette generator →

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