#370948#370948

#370948 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.0% C 0.112 H 314.7°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#370948
RGBrgb(55, 9, 72)
HSLhsl(284, 78%, 16%)
HSVhsv(284, 88%, 28%)
CMYKcmyk(23.6%, 87.5%, 0%, 71.8%)
CIE-LABlab(12.45, 32.56, -28.16)
CIE-LCHlch(12.45, 43.05, 319.15°)
OKLaboklab(25.99% 0.0786 -0.0795)
OKLCHoklch(25.99% 0.112 314.7)
XYZxyz(2.8427, 1.4756, 6.2647)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370948 #1A4809
analogous
#170948 #370948 #480939
triadic
#370948 #483709 #094837
tetradic
#370948 #481709 #1A4809 #093948
square
#370948 #481709 #1A4809 #093948
split-complementary
#370948 #394809 #094817
monochromatic
#15031B #15031B #370948 #61107E #8A17B5

Accessibility & contrast

On white

16.22
#370948 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#370948 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370948
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370948#FFFFFF#000000##FFFFFF
##3709481.0016.221.3016.22
#FFFFFF16.221.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4A
Deuteranopia (green-blind)
#052247
Tritanopia (blue-blind)
#351829
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #370948;
/* rgb */ color: rgb(55, 9, 72);
/* oklch */ color: oklch(26.0% 0.112 314.7);
Tailwind
colors: {
  custom: {
    50: '#714f7b',
    500: '#370948',
    950: '#000000',
  },
}
SCSS
$custom: #370948;
$custom-light: #714f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#370948",
  "rgb": {
    "r": 55,
    "g": 9,
    "b": 72
  },
  "hsl": {
    "h": 283.81,
    "s": 77.778,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25991,
    "c": 0.11182,
    "h": 314.7
  },
  "luminance": 0.01475
}

Semantic roles & 50–950 ramp

primary
#370948
secondary
#418527
accent
#F43468
background
#F7F4F7
surface
#EDE7EE
border
#C8C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370948

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

Preview Lab → · Contrast checker → · Palette generator →

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