#371246#371246

#371246 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.9% C 0.097 H 314.6°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#371246
RGBrgb(55, 18, 70)
HSLhsl(283, 59%, 17%)
HSVhsv(283, 74%, 27%)
CMYKcmyk(21.4%, 74.3%, 0%, 72.5%)
CIE-LABlab(13.75, 27.95, -24.67)
CIE-LCHlch(13.75, 37.28, 318.57°)
OKLaboklab(26.87% 0.0685 -0.0694)
OKLCHoklch(26.87% 0.097 314.6)
XYZxyz(2.8972, 1.6871, 5.9662)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371246 #214612
analogous
#1D1246 #371246 #46123B
triadic
#371246 #463712 #124637
tetradic
#371246 #461D12 #214612 #123B46
square
#371246 #461D12 #214612 #123B46
split-complementary
#371246 #3B4612 #12461D
monochromatic
#130618 #130618 #371246 #5D1F77 #832BA7

Accessibility & contrast

On white

15.70
#371246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#371246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #371246
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371246#FFFFFF#000000##FFFFFF
##3712461.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002148
Deuteranopia (green-blind)
#102445
Tritanopia (blue-blind)
#361C2A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #371246;
/* rgb */ color: rgb(55, 18, 70);
/* oklch */ color: oklch(26.9% 0.097 314.6);
Tailwind
colors: {
  custom: {
    50: '#70537a',
    500: '#371246',
    950: '#000000',
  },
}
SCSS
$custom: #371246;
$custom-light: #70537a;
$custom-dark: #000000;
JSON
{
  "hex": "#371246",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 70
  },
  "hsl": {
    "h": 282.692,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26865,
    "c": 0.09747,
    "h": 314.6
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#371246
secondary
#4A7F35
accent
#E24673
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #371246

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

Preview Lab → · Contrast checker → · Palette generator →

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