#371245#371245

#371245 is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.8% C 0.096 H 315.3°. Best body text is #FFFFFF at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#371245
RGBrgb(55, 18, 69)
HSLhsl(284, 59%, 17%)
HSVhsv(284, 74%, 27%)
CMYKcmyk(20.3%, 73.9%, 0%, 72.9%)
CIE-LABlab(13.68, 27.70, -24.09)
CIE-LCHlch(13.68, 36.71, 318.99°)
OKLaboklab(26.79% 0.0685 -0.0677)
OKLCHoklch(26.79% 0.096 315.3)
XYZxyz(2.8659, 1.6746, 5.8013)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#371245 #204512
analogous
#1D1245 #371245 #45123A
triadic
#371245 #453712 #124537
tetradic
#371245 #451D12 #204512 #123A45
square
#371245 #451D12 #204512 #123A45
split-complementary
#371245 #3A4512 #12451D
monochromatic
#130618 #130618 #371245 #5E1F76 #842BA6

Accessibility & contrast

On white

15.73
#371245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #371245
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##371245#FFFFFF#000000##FFFFFF
##3712451.0015.731.3415.73
#FFFFFF15.731.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002147
Deuteranopia (green-blind)
#112444
Tritanopia (blue-blind)
#361C29
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #371245;
/* rgb */ color: rgb(55, 18, 69);
/* oklch */ color: oklch(26.8% 0.096 315.3);
Tailwind
colors: {
  custom: {
    50: '#705379',
    500: '#371245',
    950: '#000000',
  },
}
SCSS
$custom: #371245;
$custom-light: #705379;
$custom-dark: #000000;
JSON
{
  "hex": "#371245",
  "rgb": {
    "r": 55,
    "g": 18,
    "b": 69
  },
  "hsl": {
    "h": 283.529,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26789,
    "c": 0.0963,
    "h": 315.3
  },
  "luminance": 0.01675
}

Semantic roles & 50–950 ramp

primary
#371245
secondary
#497E35
accent
#E24671
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #371245

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

Preview Lab → · Contrast checker → · Palette generator →

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