#310437#310437

#310437 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.099 H 322.7°. Best body text is #FFFFFF at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#310437
RGBrgb(49, 4, 55)
HSLhsl(293, 86%, 12%)
HSVhsv(293, 93%, 22%)
CMYKcmyk(10.9%, 92.7%, 0%, 78.4%)
CIE-LABlab(9.12, 29.74, -21.49)
CIE-LCHlch(9.12, 36.70, 324.15°)
OKLaboklab(22.98% 0.079 -0.0602)
OKLCHoklch(22.98% 0.099 322.7)
XYZxyz(1.9996, 1.0158, 3.7044)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310437 #0A3704
analogous
#180437 #310437 #370424
triadic
#310437 #373104 #043731
tetradic
#310437 #371804 #0A3704 #042437
square
#310437 #371804 #0A3704 #042437
split-complementary
#310437 #243704 #043718
monochromatic
#19021D #19021D #310437 #640870 #970CA9

Accessibility & contrast

On white

17.45
#310437 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#310437 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310437
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310437#FFFFFF#000000##FFFFFF
##3104371.0017.451.2017.45
#FFFFFF17.451.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001638
Deuteranopia (green-blind)
#0C1B36
Tritanopia (blue-blind)
#320E1D
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310437;
/* rgb */ color: rgb(49, 4, 55);
/* oklch */ color: oklch(23.0% 0.099 322.7);
Tailwind
colors: {
  custom: {
    50: '#6c4a6e',
    500: '#310437',
    950: '#000000',
  },
}
SCSS
$custom: #310437;
$custom-light: #6c4a6e;
$custom-dark: #000000;
JSON
{
  "hex": "#310437",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 55
  },
  "hsl": {
    "h": 292.941,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.22981,
    "c": 0.0993,
    "h": 322.7
  },
  "luminance": 0.01016
}

Semantic roles & 50–950 ramp

primary
#310437
secondary
#29791E
accent
#FD2B44
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #310437

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

Preview Lab → · Contrast checker → · Palette generator →

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