#370843#370843

#370843 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.108 H 318.3°. Best body text is #FFFFFF at 16.43:1 contrast (WCAG AA passes).

Color values

HEX#370843
RGBrgb(55, 8, 67)
HSLhsl(288, 79%, 15%)
HSVhsv(288, 88%, 26%)
CMYKcmyk(17.9%, 88.1%, 0%, 73.7%)
CIE-LABlab(11.90, 31.84, -25.54)
CIE-LCHlch(11.90, 40.82, 321.26°)
OKLaboklab(25.47% 0.0806 -0.0719)
OKLCHoklch(25.47% 0.108 318.3)
XYZxyz(2.6754, 1.3913, 5.4367)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370843 #144308
analogous
#1A0843 #370843 #430832
triadic
#370843 #433708 #084337
tetradic
#370843 #431A08 #144308 #083243
square
#370843 #431A08 #144308 #083243
split-complementary
#370843 #324308 #08431A
monochromatic
#16031B #16031B #370843 #640F7A #9115B0

Accessibility & contrast

On white

16.43
#370843 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#370843 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370843
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370843#FFFFFF#000000##FFFFFF
##3708431.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C45
Deuteranopia (green-blind)
#0B2142
Tritanopia (blue-blind)
#371525
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #370843;
/* rgb */ color: rgb(55, 8, 67);
/* oklch */ color: oklch(25.5% 0.108 318.3);
Tailwind
colors: {
  custom: {
    50: '#704e77',
    500: '#370843',
    950: '#000000',
  },
}
SCSS
$custom: #370843;
$custom-light: #704e77;
$custom-dark: #000000;
JSON
{
  "hex": "#370843",
  "rgb": {
    "r": 55,
    "g": 8,
    "b": 67
  },
  "hsl": {
    "h": 287.797,
    "s": 78.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.25473,
    "c": 0.108,
    "h": 318.3
  },
  "luminance": 0.01391
}

Semantic roles & 50–950 ramp

primary
#370843
secondary
#388125
accent
#F5335A
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #370843

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

Preview Lab → · Contrast checker → · Palette generator →

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