#30112F#30112F

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

Color values

HEX#30112F
RGBrgb(48, 17, 47)
HSLhsl(302, 48%, 13%)
HSVhsv(302, 65%, 19%)
CMYKcmyk(0%, 64.6%, 2.1%, 81.2%)
CIE-LABlab(10.81, 20.90, -12.99)
CIE-LCHlch(10.81, 24.61, 328.15°)
OKLaboklab(23.98% 0.0586 -0.0356)
OKLCHoklch(23.98% 0.069 328.7)
XYZxyz(1.9324, 1.2346, 2.8253)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30112F #113012
analogous
#211130 #30112F #301120
triadic
#30112F #2F3011 #112F30
tetradic
#30112F #302111 #113012 #112030
square
#30112F #302111 #113012 #112030
split-complementary
#30112F #203011 #113021
monochromatic
#170816 #170816 #30112F #5D215B #8A3188

Accessibility & contrast

On white

16.84
#30112F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#30112F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30112F
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30112F#FFFFFF#000000##FFFFFF
##30112F1.0016.841.2516.84
#FFFFFF16.841.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1A30
Deuteranopia (green-blind)
#181F2E
Tritanopia (blue-blind)
#32141E
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #30112f;
/* rgb */ color: rgb(48, 17, 47);
/* oklch */ color: oklch(24.0% 0.069 328.7);
Tailwind
colors: {
  custom: {
    50: '#695167',
    500: '#30112f',
    950: '#000000',
  },
}
SCSS
$custom: #30112f;
$custom-light: #695167;
$custom-dark: #000000;
JSON
{
  "hex": "#30112f",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 47
  },
  "hsl": {
    "h": 301.935,
    "s": 47.692,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23983,
    "c": 0.06858,
    "h": 328.7
  },
  "luminance": 0.01235
}

Semantic roles & 50–950 ramp

primary
#30112F
secondary
#346936
accent
#D75551
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #30112F

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

Preview Lab → · Contrast checker → · Palette generator →

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