#311035#311035

#311035 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.078 H 323.2°. Best body text is #FFFFFF at 16.72:1 contrast (WCAG AA passes).

Color values

HEX#311035
RGBrgb(49, 16, 53)
HSLhsl(294, 54%, 14%)
HSVhsv(294, 70%, 21%)
CMYKcmyk(7.5%, 69.8%, 0%, 79.2%)
CIE-LABlab(11.14, 23.20, -16.82)
CIE-LCHlch(11.14, 28.66, 324.05°)
OKLaboklab(24.38% 0.0625 -0.0467)
OKLCHoklch(24.38% 0.078 323.2)
XYZxyz(2.0945, 1.2807, 3.5043)
Luminance0.0128 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311035 #143510
analogous
#1E1035 #311035 #351026
triadic
#311035 #353110 #103531
tetradic
#311035 #351E10 #143510 #102635
square
#311035 #351E10 #143510 #102635
split-complementary
#311035 #263510 #10351E
monochromatic
#160718 #160718 #311035 #5C1E64 #882C93

Accessibility & contrast

On white

16.72
#311035 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#311035 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #311035
16.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311035#FFFFFF#000000##FFFFFF
##3110351.0016.721.2616.72
#FFFFFF16.721.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091B36
Deuteranopia (green-blind)
#151F34
Tritanopia (blue-blind)
#321520
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #311035;
/* rgb */ color: rgb(49, 16, 53);
/* oklch */ color: oklch(24.4% 0.078 323.2);
Tailwind
colors: {
  custom: {
    50: '#6a506c',
    500: '#311035',
    950: '#000000',
  },
}
SCSS
$custom: #311035;
$custom-light: #6a506c;
$custom-dark: #000000;
JSON
{
  "hex": "#311035",
  "rgb": {
    "r": 49,
    "g": 16,
    "b": 53
  },
  "hsl": {
    "h": 293.514,
    "s": 53.623,
    "l": 13.529
  },
  "oklch": {
    "l": 0.24381,
    "c": 0.07797,
    "h": 323.2
  },
  "luminance": 0.01281
}

Semantic roles & 50–950 ramp

primary
#311035
secondary
#396F32
accent
#DD4B5B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #311035

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

Preview Lab → · Contrast checker → · Palette generator →

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