#310430#310430

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

Color values

HEX#310430
RGBrgb(49, 4, 48)
HSLhsl(301, 85%, 10%)
HSVhsv(301, 92%, 19%)
CMYKcmyk(0%, 91.8%, 2%, 80.8%)
CIE-LABlab(8.60, 28.32, -17.20)
CIE-LCHlch(8.60, 33.14, 328.73°)
OKLaboklab(22.44% 0.0797 -0.0476)
OKLCHoklch(22.44% 0.093 329.1)
XYZxyz(1.8435, 0.9533, 2.8827)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310430 #043105
analogous
#1B0431 #310430 #310419
triadic
#310430 #303104 #043031
tetradic
#310430 #311B04 #043105 #041931
square
#310430 #311B04 #043105 #041931
split-complementary
#310430 #193104 #04311B
monochromatic
#1C021C #1C021C #310430 #6A0967 #A20D9F

Accessibility & contrast

On white

17.64
#310430 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#310430 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310430
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310430#FFFFFF#000000##FFFFFF
##3104301.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001531
Deuteranopia (green-blind)
#111B2F
Tritanopia (blue-blind)
#330A19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #310430;
/* rgb */ color: rgb(49, 4, 48);
/* oklch */ color: oklch(22.4% 0.093 329.1);
Tailwind
colors: {
  custom: {
    50: '#6b4a68',
    500: '#310430',
    950: '#000000',
  },
}
SCSS
$custom: #310430;
$custom-light: #6b4a68;
$custom-dark: #000000;
JSON
{
  "hex": "#310430",
  "rgb": {
    "r": 49,
    "g": 4,
    "b": 48
  },
  "hsl": {
    "h": 301.333,
    "s": 84.906,
    "l": 10.392
  },
  "oklch": {
    "l": 0.22441,
    "c": 0.09283,
    "h": 329.1
  },
  "luminance": 0.00953
}

Semantic roles & 50–950 ramp

primary
#310430
secondary
#1D731F
accent
#FB312D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #310430

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

Preview Lab → · Contrast checker → · Palette generator →

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