#310530#310530

#310530 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.091 H 329.1°. Best body text is #FFFFFF at 17.57:1 contrast (WCAG AA passes).

Color values

HEX#310530
RGBrgb(49, 5, 48)
HSLhsl(301, 81%, 11%)
HSVhsv(301, 90%, 19%)
CMYKcmyk(0%, 89.8%, 2%, 80.8%)
CIE-LABlab(8.78, 27.78, -16.91)
CIE-LCHlch(8.78, 32.52, 328.68°)
OKLaboklab(22.57% 0.0781 -0.0468)
OKLCHoklch(22.57% 0.091 329.1)
XYZxyz(1.8544, 0.9751, 2.8863)
Luminance0.0097 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310530 #053106
analogous
#1C0531 #310530 #31051A
triadic
#310530 #303105 #053031
tetradic
#310530 #311C05 #053106 #051A31
square
#310530 #311C05 #053106 #051A31
split-complementary
#310530 #1A3105 #05311C
monochromatic
#1C031B #1C031B #310530 #690B66 #A0109D

Accessibility & contrast

On white

17.57
#310530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #310530
17.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310530#FFFFFF#000000##FFFFFF
##3105301.0017.571.2017.57
#FFFFFF17.571.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011531
Deuteranopia (green-blind)
#121B2F
Tritanopia (blue-blind)
#330B1A
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310530;
/* rgb */ color: rgb(49, 5, 48);
/* oklch */ color: oklch(22.6% 0.091 329.1);
Tailwind
colors: {
  custom: {
    50: '#6b4a68',
    500: '#310530',
    950: '#000000',
  },
}
SCSS
$custom: #310530;
$custom-light: #6b4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#310530",
  "rgb": {
    "r": 49,
    "g": 5,
    "b": 48
  },
  "hsl": {
    "h": 301.364,
    "s": 81.481,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22573,
    "c": 0.09108,
    "h": 329.1
  },
  "luminance": 0.00975
}

Semantic roles & 50–950 ramp

primary
#310530
secondary
#1F7221
accent
#F83430
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #310530

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

Preview Lab → · Contrast checker → · Palette generator →

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