#30102F#30102F

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

Color values

HEX#30102F
RGBrgb(48, 16, 47)
HSLhsl(302, 50%, 13%)
HSVhsv(302, 67%, 19%)
CMYKcmyk(0%, 66.7%, 2.1%, 81.2%)
CIE-LABlab(10.59, 21.50, -13.33)
CIE-LCHlch(10.59, 25.30, 328.20°)
OKLaboklab(23.82% 0.0603 -0.0366)
OKLCHoklch(23.82% 0.071 328.7)
XYZxyz(1.9173, 1.2043, 2.8202)
Luminance0.0120 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30102F #103011
analogous
#211030 #30102F #30101F
triadic
#30102F #2F3010 #102F30
tetradic
#30102F #302110 #103011 #101F30
square
#30102F #302110 #103011 #101F30
split-complementary
#30102F #1F3010 #103021
monochromatic
#170816 #170816 #30102F #5E1F5C #8C2F89

Accessibility & contrast

On white

16.92
#30102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30102F
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30102F#FFFFFF#000000##FFFFFF
##30102F1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D1A30
Deuteranopia (green-blind)
#171E2E
Tritanopia (blue-blind)
#32131D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #30102f;
/* rgb */ color: rgb(48, 16, 47);
/* oklch */ color: oklch(23.8% 0.071 328.7);
Tailwind
colors: {
  custom: {
    50: '#6a5067',
    500: '#30102f',
    950: '#000000',
  },
}
SCSS
$custom: #30102f;
$custom-light: #6a5067;
$custom-dark: #000000;
JSON
{
  "hex": "#30102f",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 301.875,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23821,
    "c": 0.07053,
    "h": 328.7
  },
  "luminance": 0.01204
}

Semantic roles & 50–950 ramp

primary
#30102F
secondary
#336934
accent
#DA534E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #30102F

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

Preview Lab → · Contrast checker → · Palette generator →

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