#371074#371074

#371074 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.9% C 0.153 H 292.5°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#371074
RGBrgb(55, 16, 116)
HSLhsl(263, 76%, 26%)
HSVhsv(263, 86%, 45%)
CMYKcmyk(52.6%, 86.2%, 0%, 54.5%)
CIE-LABlab(17.66, 41.15, -49.09)
CIE-LCHlch(17.66, 64.06, 309.97°)
OKLaboklab(30.92% 0.0584 -0.141)
OKLCHoklch(30.92% 0.153 292.5)
XYZxyz(4.9123, 2.4436, 16.7324)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371074 #4D7410
analogous
#101B74 #371074 #691074
triadic
#371074 #743710 #107437
tetradic
#371074 #74101B #4D7410 #107469
square
#371074 #74101B #4D7410 #107469
split-complementary
#371074 #746910 #1B7410
monochromatic
#0D041B #1D093E #371074 #5017AA #6A1FE0

Accessibility & contrast

On white

14.11
#371074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#371074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371074
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371074#FFFFFF#000000##FFFFFF
##3710741.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#222E43
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #371074;
/* rgb */ color: rgb(55, 16, 116);
/* oklch */ color: oklch(30.9% 0.153 292.5);
Tailwind
colors: {
  custom: {
    50: '#76559d',
    500: '#371074',
    950: '#000000',
  },
}
SCSS
$custom: #371074;
$custom-light: #76559d;
$custom-dark: #000000;
JSON
{
  "hex": "#371074",
  "rgb": {
    "r": 55,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 263.4,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30918,
    "c": 0.15263,
    "h": 292.5
  },
  "luminance": 0.02444
}

Semantic roles & 50–950 ramp

primary
#371074
secondary
#7DAB35
accent
#F235A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #371074

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

Preview Lab → · Contrast checker → · Palette generator →

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