#370742#370742

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

Color values

HEX#370742
RGBrgb(55, 7, 66)
HSLhsl(289, 81%, 14%)
HSVhsv(289, 89%, 26%)
CMYKcmyk(16.7%, 89.4%, 0%, 74.1%)
CIE-LABlab(11.67, 32.04, -25.20)
CIE-LCHlch(11.67, 40.77, 321.81°)
OKLaboklab(25.29% 0.0819 -0.0709)
OKLCHoklch(25.29% 0.108 319.1)
XYZxyz(2.6348, 1.3577, 5.2765)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370742 #124207
analogous
#1A0742 #370742 #420730
triadic
#370742 #423707 #074237
tetradic
#370742 #421A07 #124207 #073042
square
#370742 #421A07 #124207 #073042
split-complementary
#370742 #304207 #07421A
monochromatic
#17031C #17031C #370742 #650D79 #9313B1

Accessibility & contrast

On white

16.51
#370742 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#370742 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370742
16.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370742#FFFFFF#000000##FFFFFF
##3707421.0016.511.2716.51
#FFFFFF16.511.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C44
Deuteranopia (green-blind)
#0B2041
Tritanopia (blue-blind)
#371425
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #370742;
/* rgb */ color: rgb(55, 7, 66);
/* oklch */ color: oklch(25.3% 0.108 319.1);
Tailwind
colors: {
  custom: {
    50: '#714e77',
    500: '#370742',
    950: '#000000',
  },
}
SCSS
$custom: #370742;
$custom-light: #714e77;
$custom-dark: #000000;
JSON
{
  "hex": "#370742",
  "rgb": {
    "r": 55,
    "g": 7,
    "b": 66
  },
  "hsl": {
    "h": 288.814,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.25288,
    "c": 0.10828,
    "h": 319.1
  },
  "luminance": 0.01358
}

Semantic roles & 50–950 ramp

primary
#370742
secondary
#358124
accent
#F73156
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370742

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

Preview Lab → · Contrast checker → · Palette generator →

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