#30102B#30102B

#30102B is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.6% C 0.066 H 333.9°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#30102B
RGBrgb(48, 16, 43)
HSLhsl(309, 50%, 13%)
HSVhsv(309, 67%, 19%)
CMYKcmyk(0%, 66.7%, 10.4%, 81.2%)
CIE-LABlab(10.36, 20.64, -10.74)
CIE-LCHlch(10.36, 23.27, 332.51°)
OKLaboklab(23.58% 0.0595 -0.0292)
OKLCHoklch(23.58% 0.066 333.9)
XYZxyz(1.8403, 1.1735, 2.4146)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30102B #103015
analogous
#251030 #30102B #30101B
triadic
#30102B #2B3010 #102B30
tetradic
#30102B #302510 #103015 #101B30
square
#30102B #302510 #103015 #101B30
split-complementary
#30102B #1B3010 #103025
monochromatic
#170815 #170815 #30102B #5E1F54 #8C2F7D

Accessibility & contrast

On white

17.01
#30102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#30102B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30102B
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30102B#FFFFFF#000000##FFFFFF
##30102B1.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10192C
Deuteranopia (green-blind)
#191E2A
Tritanopia (blue-blind)
#32121B
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #30102b;
/* rgb */ color: rgb(48, 16, 43);
/* oklch */ color: oklch(23.6% 0.066 333.9);
Tailwind
colors: {
  custom: {
    50: '#695064',
    500: '#30102b',
    950: '#000000',
  },
}
SCSS
$custom: #30102b;
$custom-light: #695064;
$custom-dark: #000000;
JSON
{
  "hex": "#30102b",
  "rgb": {
    "r": 48,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 309.375,
    "s": 50,
    "l": 12.549
  },
  "oklch": {
    "l": 0.23578,
    "c": 0.06629,
    "h": 333.9
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#30102B
secondary
#33693B
accent
#DA644E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #30102B

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

Preview Lab → · Contrast checker → · Palette generator →

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