#310A43#310A43

#310A43 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.103 H 312.4°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#310A43
RGBrgb(49, 10, 67)
HSLhsl(281, 74%, 15%)
HSVhsv(281, 85%, 26%)
CMYKcmyk(26.9%, 85.1%, 0%, 73.7%)
CIE-LABlab(11.10, 29.62, -26.89)
CIE-LCHlch(11.10, 40.01, 317.77°)
OKLaboklab(24.69% 0.0695 -0.0761)
OKLCHoklch(24.69% 0.103 312.4)
XYZxyz(2.3881, 1.2754, 5.4295)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#310A43 #1C430A
analogous
#150A43 #310A43 #430A38
triadic
#310A43 #43310A #0A4331
tetradic
#310A43 #43150A #1C430A #0A3843
square
#310A43 #43150A #1C430A #0A3843
split-complementary
#310A43 #38430A #0A4315
monochromatic
#13041B #13041B #310A43 #581278 #7F1AAE

Accessibility & contrast

On white

16.73
#310A43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#310A43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #310A43
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##310A43#FFFFFF#000000##FFFFFF
##310A431.0016.731.2516.73
#FFFFFF16.731.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C45
Deuteranopia (green-blind)
#041E42
Tritanopia (blue-blind)
#2F1726
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #310a43;
/* rgb */ color: rgb(49, 10, 67);
/* oklch */ color: oklch(24.7% 0.103 312.4);
Tailwind
colors: {
  custom: {
    50: '#6c4e77',
    500: '#310a43',
    950: '#000000',
  },
}
SCSS
$custom: #310a43;
$custom-light: #6c4e77;
$custom-dark: #000000;
JSON
{
  "hex": "#310a43",
  "rgb": {
    "r": 49,
    "g": 10,
    "b": 67
  },
  "hsl": {
    "h": 281.053,
    "s": 74.026,
    "l": 15.098
  },
  "oklch": {
    "l": 0.2469,
    "c": 0.103,
    "h": 312.4
  },
  "luminance": 0.01275
}

Semantic roles & 50–950 ramp

primary
#310A43
secondary
#448029
accent
#F13772
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #310A43

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

Preview Lab → · Contrast checker → · Palette generator →

#310A43 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva