#30123E#30123E

#30123E is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.085 H 313.4°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#30123E
RGBrgb(48, 18, 62)
HSLhsl(281, 55%, 16%)
HSVhsv(281, 71%, 24%)
CMYKcmyk(22.6%, 71%, 0%, 75.7%)
CIE-LABlab(12.02, 23.96, -21.89)
CIE-LCHlch(12.02, 32.45, 317.58°)
OKLaboklab(25.18% 0.0582 -0.0615)
OKLCHoklch(25.18% 0.085 313.4)
XYZxyz(2.3046, 1.4089, 4.7070)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30123E #203E12
analogous
#1A123E #30123E #3E1236
triadic
#30123E #3E3012 #123E30
tetradic
#30123E #3E1A12 #203E12 #12363E
square
#30123E #3E1A12 #203E12 #12363E
split-complementary
#30123E #363E12 #123E1A
monochromatic
#120718 #120718 #30123E #55206D #792E9D

Accessibility & contrast

On white

16.38
#30123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#30123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30123E
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30123E#FFFFFF#000000##FFFFFF
##30123E1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031E3F
Deuteranopia (green-blind)
#10203D
Tritanopia (blue-blind)
#2F1A26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #30123e;
/* rgb */ color: rgb(48, 18, 62);
/* oklch */ color: oklch(25.2% 0.085 313.4);
Tailwind
colors: {
  custom: {
    50: '#6a5273',
    500: '#30123e',
    950: '#000000',
  },
}
SCSS
$custom: #30123e;
$custom-light: #6a5273;
$custom-dark: #000000;
JSON
{
  "hex": "#30123e",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 280.909,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25184,
    "c": 0.08464,
    "h": 313.4
  },
  "luminance": 0.01409
}

Semantic roles & 50–950 ramp

primary
#30123E
secondary
#4A7735
accent
#DE4979
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #30123E

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

Preview Lab → · Contrast checker → · Palette generator →

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