#30122E#30122E

#30122E is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.1% C 0.065 H 329.9°. Best body text is #FFFFFF at 16.78:1 contrast (WCAG AA passes).

Color values

HEX#30122E
RGBrgb(48, 18, 46)
HSLhsl(304, 45%, 13%)
HSVhsv(304, 63%, 19%)
CMYKcmyk(0%, 62.5%, 4.2%, 81.2%)
CIE-LABlab(10.98, 20.07, -11.99)
CIE-LCHlch(10.98, 23.38, 329.16°)
OKLaboklab(24.09% 0.0567 -0.0328)
OKLCHoklch(24.09% 0.065 329.9)
XYZxyz(1.9284, 1.2584, 2.7256)
Luminance0.0126 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30122E #123014
analogous
#231230 #30122E #30121F
triadic
#30122E #2E3012 #122E30
tetradic
#30122E #302312 #123014 #121F30
square
#30122E #302312 #123014 #121F30
split-complementary
#30122E #1F3012 #123023
monochromatic
#160815 #160815 #30122E #5D2359 #893383

Accessibility & contrast

On white

16.78
#30122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30122E
16.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30122E#FFFFFF#000000##FFFFFF
##30122E1.0016.781.2516.78
#FFFFFF16.781.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101B2F
Deuteranopia (green-blind)
#191F2D
Tritanopia (blue-blind)
#32151D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #30122e;
/* rgb */ color: rgb(48, 18, 46);
/* oklch */ color: oklch(24.1% 0.065 329.9);
Tailwind
colors: {
  custom: {
    50: '#695166',
    500: '#30122e',
    950: '#000000',
  },
}
SCSS
$custom: #30122e;
$custom-light: #695166;
$custom-dark: #000000;
JSON
{
  "hex": "#30122e",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 304,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2409,
    "c": 0.06546,
    "h": 329.9
  },
  "luminance": 0.01258
}

Semantic roles & 50–950 ramp

primary
#30122E
secondary
#366839
accent
#D55B53
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #30122E

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

Preview Lab → · Contrast checker → · Palette generator →

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