#370746#370746

#370746 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.6% C 0.112 H 316.3°. Best body text is #FFFFFF at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#370746
RGBrgb(55, 7, 70)
HSLhsl(286, 82%, 15%)
HSVhsv(286, 90%, 27%)
CMYKcmyk(21.4%, 90%, 0%, 72.5%)
CIE-LABlab(12.00, 32.93, -27.49)
CIE-LCHlch(12.00, 42.90, 320.15°)
OKLaboklab(25.62% 0.0811 -0.0776)
OKLCHoklch(25.62% 0.112 316.3)
XYZxyz(2.7568, 1.4065, 5.9194)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370746 #164607
analogous
#170746 #370746 #460736
triadic
#370746 #463707 #074637
tetradic
#370746 #461707 #164607 #073646
square
#370746 #461707 #164607 #073646
split-complementary
#370746 #364607 #074617
monochromatic
#16031C #16031C #370746 #630D7E #8E12B5

Accessibility & contrast

On white

16.39
#370746 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #370746
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370746#FFFFFF#000000##FFFFFF
##3707461.0016.391.2816.39
#FFFFFF16.391.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#062145
Tritanopia (blue-blind)
#361627
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #370746;
/* rgb */ color: rgb(55, 7, 70);
/* oklch */ color: oklch(25.6% 0.112 316.3);
Tailwind
colors: {
  custom: {
    50: '#714e7a',
    500: '#370746',
    950: '#000000',
  },
}
SCSS
$custom: #370746;
$custom-light: #714e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#370746",
  "rgb": {
    "r": 55,
    "g": 7,
    "b": 70
  },
  "hsl": {
    "h": 285.714,
    "s": 81.818,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25622,
    "c": 0.11221,
    "h": 316.3
  },
  "luminance": 0.01406
}

Semantic roles & 50–950 ramp

primary
#370746
secondary
#3B8524
accent
#F8305F
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080209
muted
#7B787B

Preview Lab

Preview with #370746

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

Preview Lab → · Contrast checker → · Palette generator →

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