#311133#311133

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

Color values

HEX#311133
RGBrgb(49, 17, 51)
HSLhsl(296, 50%, 13%)
HSVhsv(296, 67%, 20%)
CMYKcmyk(3.9%, 66.7%, 0%, 80%)
CIE-LABlab(11.23, 22.15, -15.24)
CIE-LCHlch(11.23, 26.89, 325.48°)
OKLaboklab(24.4% 0.0606 -0.0421)
OKLCHoklch(24.4% 0.074 325.2)
XYZxyz(2.0646, 1.2930, 3.2722)
Luminance0.0129 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#311133 #133311
analogous
#201133 #311133 #331124
triadic
#311133 #333111 #113331
tetradic
#311133 #332011 #133311 #112433
square
#311133 #332011 #133311 #112433
split-complementary
#311133 #243311 #113320
monochromatic
#160817 #160817 #311133 #5D2061 #89308F

Accessibility & contrast

On white

16.69
#311133 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #311133
16.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##311133#FFFFFF#000000##FFFFFF
##3111331.0016.691.2616.69
#FFFFFF16.691.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1B34
Deuteranopia (green-blind)
#171F32
Tritanopia (blue-blind)
#321520
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #311133;
/* rgb */ color: rgb(49, 17, 51);
/* oklch */ color: oklch(24.4% 0.074 325.2);
Tailwind
colors: {
  custom: {
    50: '#6a516b',
    500: '#311133',
    950: '#000000',
  },
}
SCSS
$custom: #311133;
$custom-light: #6a516b;
$custom-dark: #000000;
JSON
{
  "hex": "#311133",
  "rgb": {
    "r": 49,
    "g": 17,
    "b": 51
  },
  "hsl": {
    "h": 296.471,
    "s": 50,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24403,
    "c": 0.07382,
    "h": 325.2
  },
  "luminance": 0.01293
}

Semantic roles & 50–950 ramp

primary
#311133
secondary
#376C34
accent
#DA4E56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #311133

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

Preview Lab → · Contrast checker → · Palette generator →

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