#310633#310633

#310633 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.092 H 326.1°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#310633
RGBrgb(49, 6, 51)
HSLhsl(297, 79%, 11%)
HSVhsv(297, 88%, 20%)
CMYKcmyk(3.9%, 88.2%, 0%, 80%)
CIE-LABlab(9.18, 27.87, -18.49)
CIE-LCHlch(9.18, 33.45, 326.45°)
OKLaboklab(22.92% 0.0766 -0.0514)
OKLCHoklch(22.92% 0.092 326.1)
XYZxyz(1.9293, 1.0224, 3.2270)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310633 #083306
analogous
#1A0633 #310633 #33061E
triadic
#310633 #333106 #063331
tetradic
#310633 #331A06 #083306 #061E33
square
#310633 #331A06 #083306 #061E33
split-complementary
#310633 #1E3306 #06331A
monochromatic
#1A031B #1A031B #310633 #660C6A #9A13A1

Accessibility & contrast

On white

17.44
#310633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310633
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310633#FFFFFF#000000##FFFFFF
##3106331.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001634
Deuteranopia (green-blind)
#101C32
Tritanopia (blue-blind)
#330D1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #310633;
/* rgb */ color: rgb(49, 6, 51);
/* oklch */ color: oklch(22.9% 0.092 326.1);
Tailwind
colors: {
  custom: {
    50: '#6b4b6b',
    500: '#310633',
    950: '#000000',
  },
}
SCSS
$custom: #310633;
$custom-light: #6b4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#310633",
  "rgb": {
    "r": 49,
    "g": 6,
    "b": 51
  },
  "hsl": {
    "h": 297.333,
    "s": 78.947,
    "l": 11.176
  },
  "oklch": {
    "l": 0.22922,
    "c": 0.09223,
    "h": 326.1
  },
  "luminance": 0.01022
}

Semantic roles & 50–950 ramp

primary
#310633
secondary
#257421
accent
#F5323B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #310633

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

Preview Lab → · Contrast checker → · Palette generator →

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