#30123B#30123B

#30123B is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.081 H 316.0°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#30123B
RGBrgb(48, 18, 59)
HSLhsl(284, 53%, 15%)
HSVhsv(284, 69%, 23%)
CMYKcmyk(18.6%, 69.5%, 0%, 76.9%)
CIE-LABlab(11.80, 23.18, -20.10)
CIE-LCHlch(11.80, 30.68, 319.08°)
OKLaboklab(24.96% 0.0582 -0.0562)
OKLCHoklch(24.96% 0.081 316)
XYZxyz(2.2245, 1.3768, 4.2854)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30123B #1D3B12
analogous
#1B123B #30123B #3B1232
triadic
#30123B #3B3012 #123B30
tetradic
#30123B #3B1B12 #1D3B12 #12323B
square
#30123B #3B1B12 #1D3B12 #12323B
split-complementary
#30123B #323B12 #123B1B
monochromatic
#130717 #130717 #30123B #56206A #7C2F99

Accessibility & contrast

On white

16.47
#30123B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#30123B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30123B
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30123B#FFFFFF#000000##FFFFFF
##30123B1.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061D3C
Deuteranopia (green-blind)
#12203A
Tritanopia (blue-blind)
#2F1924
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30123b;
/* rgb */ color: rgb(48, 18, 59);
/* oklch */ color: oklch(25.0% 0.081 316.0);
Tailwind
colors: {
  custom: {
    50: '#6a5271',
    500: '#30123b',
    950: '#000000',
  },
}
SCSS
$custom: #30123b;
$custom-light: #6a5271;
$custom-dark: #000000;
JSON
{
  "hex": "#30123b",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 59
  },
  "hsl": {
    "h": 283.902,
    "s": 53.247,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24959,
    "c": 0.0809,
    "h": 316
  },
  "luminance": 0.01377
}

Semantic roles & 50–950 ramp

primary
#30123B
secondary
#467435
accent
#DD4B72
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #30123B

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

Preview Lab → · Contrast checker → · Palette generator →

#30123B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva