#30103B#30103B

#30103B is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.084 H 316.4°. Best body text is #FFFFFF at 16.63:1 contrast (WCAG AA passes).

Color values

HEX#30103B
RGBrgb(48, 16, 59)
HSLhsl(285, 57%, 15%)
HSVhsv(285, 73%, 23%)
CMYKcmyk(18.6%, 72.9%, 0%, 76.9%)
CIE-LABlab(11.38, 24.34, -20.77)
CIE-LCHlch(11.38, 32.00, 319.53°)
OKLaboklab(24.65% 0.0612 -0.0582)
OKLCHoklch(24.65% 0.084 316.4)
XYZxyz(2.1935, 1.3148, 4.2751)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30103B #1B3B10
analogous
#1B103B #30103B #3B1031
triadic
#30103B #3B3010 #103B30
tetradic
#30103B #3B1B10 #1B3B10 #10313B
square
#30103B #3B1B10 #1B3B10 #10313B
split-complementary
#30103B #313B10 #103B1B
monochromatic
#140718 #140718 #30103B #571D6B #7E2A9B

Accessibility & contrast

On white

16.63
#30103B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#30103B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30103B
16.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30103B#FFFFFF#000000##FFFFFF
##30103B1.0016.631.2616.63
#FFFFFF16.631.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031C3C
Deuteranopia (green-blind)
#101F3A
Tritanopia (blue-blind)
#2F1823
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #30103b;
/* rgb */ color: rgb(48, 16, 59);
/* oklch */ color: oklch(24.7% 0.084 316.4);
Tailwind
colors: {
  custom: {
    50: '#6a5171',
    500: '#30103b',
    950: '#000000',
  },
}
SCSS
$custom: #30103b;
$custom-light: #6a5171;
$custom-dark: #000000;
JSON
{
  "hex": "#30103b",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 59
  },
  "hsl": {
    "h": 284.651,
    "s": 57.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24652,
    "c": 0.08443,
    "h": 316.4
  },
  "luminance": 0.01315
}

Semantic roles & 50–950 ramp

primary
#30103B
secondary
#437532
accent
#E1476E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #30103B

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

Preview Lab → · Contrast checker → · Palette generator →

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