#310441#310441

#310441 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.109 H 314.8°. Best body text is #FFFFFF at 17.15:1 contrast (WCAG AA passes).

Color values

HEX#310441
RGBrgb(49, 4, 65)
HSLhsl(284, 88%, 14%)
HSVhsv(284, 94%, 25%)
CMYKcmyk(24.6%, 93.8%, 0%, 74.5%)
CIE-LABlab(9.97, 31.94, -27.31)
CIE-LCHlch(9.97, 42.03, 319.47°)
OKLaboklab(23.84% 0.0768 -0.0772)
OKLCHoklch(23.84% 0.109 314.8)
XYZxyz(2.2640, 1.1215, 5.0972)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310441 #144104
analogous
#120441 #310441 #410432
triadic
#310441 #413104 #044131
tetradic
#310441 #411204 #144104 #043241
square
#310441 #411204 #144104 #043241
split-complementary
#310441 #324104 #044112
monochromatic
#16021D #16021D #310441 #5C087B #880BB4

Accessibility & contrast

On white

17.15
#310441 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#310441 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310441
17.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310441#FFFFFF#000000##FFFFFF
##3104411.0017.151.2217.15
#FFFFFF17.151.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001943
Deuteranopia (green-blind)
#011C40
Tritanopia (blue-blind)
#301323
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #310441;
/* rgb */ color: rgb(49, 4, 65);
/* oklch */ color: oklch(23.8% 0.109 314.8);
Tailwind
colors: {
  custom: {
    50: '#6c4b76',
    500: '#310441',
    950: '#000000',
  },
}
SCSS
$custom: #310441;
$custom-light: #6c4b76;
$custom-dark: #000000;
JSON
{
  "hex": "#310441",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 65
  },
  "hsl": {
    "h": 284.262,
    "s": 88.406,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23838,
    "c": 0.10893,
    "h": 314.8
  },
  "luminance": 0.01121
}

Semantic roles & 50–950 ramp

primary
#310441
secondary
#39821F
accent
#FF2961
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #310441

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

Preview Lab → · Contrast checker → · Palette generator →

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