#371264#371264

#371264 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.132 H 298.1°. Best body text is #FFFFFF at 14.65:1 contrast (WCAG AA passes).

Color values

HEX#371264
RGBrgb(55, 18, 100)
HSLhsl(267, 69%, 23%)
HSVhsv(267, 82%, 39%)
CMYKcmyk(45%, 82%, 0%, 60.8%)
CIE-LABlab(16.33, 35.88, -40.83)
CIE-LCHlch(16.33, 54.35, 311.31°)
OKLaboklab(29.5% 0.0624 -0.1168)
OKLCHoklch(29.5% 0.132 298.1)
XYZxyz(4.0915, 2.1649, 12.2564)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371264 #3F6412
analogous
#121664 #371264 #601264
triadic
#371264 #643712 #126437
tetradic
#371264 #641216 #3F6412 #126460
square
#371264 #641216 #3F6412 #126460
split-complementary
#371264 #646012 #166412
monochromatic
#0E051A #1A0930 #371264 #541B98 #7025CC

Accessibility & contrast

On white

14.65
#371264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#371264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371264
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371264#FFFFFF#000000##FFFFFF
##3712641.0014.651.4314.65
#FFFFFF14.651.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#2C283B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #371264;
/* rgb */ color: rgb(55, 18, 100);
/* oklch */ color: oklch(29.5% 0.132 298.1);
Tailwind
colors: {
  custom: {
    50: '#735591',
    500: '#371264',
    950: '#000000',
  },
}
SCSS
$custom: #371264;
$custom-light: #735591;
$custom-dark: #000000;
JSON
{
  "hex": "#371264",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 100
  },
  "hsl": {
    "h": 267.073,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.295,
    "c": 0.13247,
    "h": 298.1
  },
  "luminance": 0.02165
}

Semantic roles & 50–950 ramp

primary
#371264
secondary
#6E9C36
accent
#EC3B9D
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #371264

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

Preview Lab → · Contrast checker → · Palette generator →

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