#370642#370642

#370642 is a dark, moderate purple. Relative luminance 0.013; OKLCH L 25.2% C 0.110 H 319.2°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#370642
RGBrgb(55, 6, 66)
HSLhsl(289, 83%, 14%)
HSVhsv(289, 91%, 26%)
CMYKcmyk(16.7%, 90.9%, 0%, 74.1%)
CIE-LABlab(11.53, 32.47, -25.44)
CIE-LCHlch(11.53, 41.25, 321.92°)
OKLaboklab(25.18% 0.083 -0.0715)
OKLCHoklch(25.18% 0.11 319.2)
XYZxyz(2.6239, 1.3360, 5.2729)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370642 #114206
analogous
#190642 #370642 #42062F
triadic
#370642 #423706 #064237
tetradic
#370642 #421906 #114206 #062F42
square
#370642 #421906 #114206 #062F42
split-complementary
#370642 #2F4206 #064219
monochromatic
#17031C #17031C #370642 #660B7A #9510B2

Accessibility & contrast

On white

16.57
#370642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370642
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370642#FFFFFF#000000##FFFFFF
##3706421.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#0A2041
Tritanopia (blue-blind)
#371324
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #370642;
/* rgb */ color: rgb(55, 6, 66);
/* oklch */ color: oklch(25.2% 0.110 319.2);
Tailwind
colors: {
  custom: {
    50: '#714d77',
    500: '#370642',
    950: '#000000',
  },
}
SCSS
$custom: #370642;
$custom-light: #714d77;
$custom-dark: #000000;
JSON
{
  "hex": "#370642",
  "rgb": {
    "r": 55,
    "g": 6,
    "b": 66
  },
  "hsl": {
    "h": 289,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.25183,
    "c": 0.10959,
    "h": 319.2
  },
  "luminance": 0.01336
}

Semantic roles & 50–950 ramp

primary
#370642
secondary
#348222
accent
#FA2E53
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #370642

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

Preview Lab → · Contrast checker → · Palette generator →

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