#30122C#30122C

#30122C is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.063 H 332.6°. Best body text is #FFFFFF at 16.82:1 contrast (WCAG AA passes).

Color values

HEX#30122C
RGBrgb(48, 18, 44)
HSLhsl(308, 45%, 13%)
HSVhsv(308, 63%, 19%)
CMYKcmyk(0%, 62.5%, 8.3%, 81.2%)
CIE-LABlab(10.87, 19.63, -10.69)
CIE-LCHlch(10.87, 22.35, 331.44°)
OKLaboklab(23.97% 0.0562 -0.0291)
OKLCHoklch(23.97% 0.063 332.6)
XYZxyz(1.8898, 1.2430, 2.5228)
Luminance0.0124 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30122C #123016
analogous
#251230 #30122C #30121D
triadic
#30122C #2C3012 #122C30
tetradic
#30122C #302512 #123016 #121D30
square
#30122C #302512 #123016 #121D30
split-complementary
#30122C #1D3012 #123025
monochromatic
#160814 #160814 #30122C #5D2355 #89337E

Accessibility & contrast

On white

16.82
#30122C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#30122C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30122C
16.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30122C#FFFFFF#000000##FFFFFF
##30122C1.0016.821.2516.82
#FFFFFF16.821.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#111A2D
Deuteranopia (green-blind)
#1A1F2B
Tritanopia (blue-blind)
#32141D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #30122c;
/* rgb */ color: rgb(48, 18, 44);
/* oklch */ color: oklch(24.0% 0.063 332.6);
Tailwind
colors: {
  custom: {
    50: '#695165',
    500: '#30122c',
    950: '#000000',
  },
}
SCSS
$custom: #30122c;
$custom-light: #695165;
$custom-dark: #000000;
JSON
{
  "hex": "#30122c",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 44
  },
  "hsl": {
    "h": 308,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23973,
    "c": 0.06329,
    "h": 332.6
  },
  "luminance": 0.01243
}

Semantic roles & 50–950 ramp

primary
#30122C
secondary
#36683C
accent
#D56453
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #30122C

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

Preview Lab → · Contrast checker → · Palette generator →

#30122C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva