#310130#310130

#310130 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.098 H 329.2°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#310130
RGBrgb(49, 1, 48)
HSLhsl(301, 96%, 10%)
HSVhsv(301, 98%, 19%)
CMYKcmyk(0%, 98%, 2%, 80.8%)
CIE-LABlab(8.02, 30.00, -18.11)
CIE-LCHlch(8.02, 35.04, 328.87°)
OKLaboklab(22.04% 0.0845 -0.0503)
OKLCHoklch(22.04% 0.098 329.2)
XYZxyz(1.8110, 0.8882, 2.8718)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310130 #013102
analogous
#1A0131 #310130 #310118
triadic
#310130 #303101 #013031
tetradic
#310130 #311A01 #013102 #011831
square
#310130 #311A01 #013102 #011831
split-complementary
#310130 #183101 #01311A
monochromatic
#1E011D #1E011D #310130 #6D026B #A903A6

Accessibility & contrast

On white

17.83
#310130 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#310130 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310130
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310130#FFFFFF#000000##FFFFFF
##3101301.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001331
Deuteranopia (green-blind)
#0F1A2F
Tritanopia (blue-blind)
#330718
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #310130;
/* rgb */ color: rgb(49, 1, 48);
/* oklch */ color: oklch(22.0% 0.098 329.2);
Tailwind
colors: {
  custom: {
    50: '#6c4868',
    500: '#310130',
    950: '#000000',
  },
}
SCSS
$custom: #310130;
$custom-light: #6c4868;
$custom-dark: #000000;
JSON
{
  "hex": "#310130",
  "rgb": {
    "r": 49,
    "g": 1,
    "b": 48
  },
  "hsl": {
    "h": 301.25,
    "s": 96,
    "l": 9.804
  },
  "oklch": {
    "l": 0.22035,
    "c": 0.09828,
    "h": 329.2
  },
  "luminance": 0.00888
}

Semantic roles & 50–950 ramp

primary
#310130
secondary
#177719
accent
#FF2D29
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #310130

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

Preview Lab → · Contrast checker → · Palette generator →

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