#30102E#30102E

#30102E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.8% C 0.069 H 329.9°. Best body text is #FFFFFF at 16.95:1 contrast (WCAG AA passes).

Color values

HEX#30102E
RGBrgb(48, 16, 46)
HSLhsl(304, 50%, 13%)
HSVhsv(304, 67%, 19%)
CMYKcmyk(0%, 66.7%, 4.2%, 81.2%)
CIE-LABlab(10.53, 21.28, -12.69)
CIE-LCHlch(10.53, 24.78, 329.19°)
OKLaboklab(23.76% 0.0601 -0.0348)
OKLCHoklch(23.76% 0.069 329.9)
XYZxyz(1.8973, 1.1963, 2.7152)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30102E #103012
analogous
#221030 #30102E #30101E
triadic
#30102E #2E3010 #102E30
tetradic
#30102E #302210 #103012 #101E30
square
#30102E #302210 #103012 #101E30
split-complementary
#30102E #1E3010 #103022
monochromatic
#170816 #170816 #30102E #5E1F5A #8C2F86

Accessibility & contrast

On white

16.95
#30102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#30102E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30102E
16.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30102E#FFFFFF#000000##FFFFFF
##30102E1.0016.951.2416.95
#FFFFFF16.951.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A2F
Deuteranopia (green-blind)
#181E2D
Tritanopia (blue-blind)
#32131D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #30102e;
/* rgb */ color: rgb(48, 16, 46);
/* oklch */ color: oklch(23.8% 0.069 329.9);
Tailwind
colors: {
  custom: {
    50: '#695066',
    500: '#30102e',
    950: '#000000',
  },
}
SCSS
$custom: #30102e;
$custom-light: #695066;
$custom-dark: #000000;
JSON
{
  "hex": "#30102e",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 303.75,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23758,
    "c": 0.06945,
    "h": 329.9
  },
  "luminance": 0.01196
}

Semantic roles & 50–950 ramp

primary
#30102E
secondary
#336936
accent
#DA574E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #30102E

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

Preview Lab → · Contrast checker → · Palette generator →

#30102E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva