#370F48#370F48

#370F48 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.104 H 313.8°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#370F48
RGBrgb(55, 15, 72)
HSLhsl(282, 66%, 17%)
HSVhsv(282, 79%, 28%)
CMYKcmyk(23.6%, 79.2%, 0%, 71.8%)
CIE-LABlab(13.36, 29.96, -26.69)
CIE-LCHlch(13.36, 40.12, 318.31°)
OKLaboklab(26.64% 0.0721 -0.0753)
OKLCHoklch(26.64% 0.104 313.8)
XYZxyz(2.9159, 1.6218, 6.2891)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#370F48 #20480F
analogous
#1B0F48 #370F48 #480F3D
triadic
#370F48 #48370F #0F4837
tetradic
#370F48 #481B0F #20480F #0F3D48
square
#370F48 #481B0F #20480F #0F3D48
split-complementary
#370F48 #3D480F #0F481B
monochromatic
#130519 #130519 #370F48 #5E1A7B #8424AD

Accessibility & contrast

On white

15.86
#370F48 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#370F48 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #370F48
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##370F48#FFFFFF#000000##FFFFFF
##370F481.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00204A
Deuteranopia (green-blind)
#0B2347
Tritanopia (blue-blind)
#351B2A
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #370f48;
/* rgb */ color: rgb(55, 15, 72);
/* oklch */ color: oklch(26.6% 0.104 313.8);
Tailwind
colors: {
  custom: {
    50: '#70527b',
    500: '#370f48',
    950: '#000000',
  },
}
SCSS
$custom: #370f48;
$custom-light: #70527b;
$custom-dark: #000000;
JSON
{
  "hex": "#370f48",
  "rgb": {
    "r": 55,
    "g": 15,
    "b": 72
  },
  "hsl": {
    "h": 282.105,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26636,
    "c": 0.10422,
    "h": 313.8
  },
  "luminance": 0.01622
}

Semantic roles & 50–950 ramp

primary
#370F48
secondary
#498230
accent
#E83F72
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#080209
muted
#7B787B

Preview Lab

Preview with #370F48

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

Preview Lab → · Contrast checker → · Palette generator →

#370F48 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva