#30123C#30123C

#30123C is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.082 H 315.1°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#30123C
RGBrgb(48, 18, 60)
HSLhsl(283, 54%, 15%)
HSVhsv(283, 70%, 24%)
CMYKcmyk(20%, 70%, 0%, 76.5%)
CIE-LABlab(11.87, 23.44, -20.70)
CIE-LCHlch(11.87, 31.27, 318.56°)
OKLaboklab(25.03% 0.0582 -0.058)
OKLCHoklch(25.03% 0.082 315.1)
XYZxyz(2.2507, 1.3873, 4.4233)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30123C #1E3C12
analogous
#1B123C #30123C #3C1233
triadic
#30123C #3C3012 #123C30
tetradic
#30123C #3C1B12 #1E3C12 #12333C
square
#30123C #3C1B12 #1E3C12 #12333C
split-complementary
#30123C #333C12 #123C1B
monochromatic
#130718 #130718 #30123C #56206B #7B2E9A

Accessibility & contrast

On white

16.44
#30123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30123C
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30123C#FFFFFF#000000##FFFFFF
##30123C1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051D3D
Deuteranopia (green-blind)
#11203B
Tritanopia (blue-blind)
#2F1924
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30123c;
/* rgb */ color: rgb(48, 18, 60);
/* oklch */ color: oklch(25.0% 0.082 315.1);
Tailwind
colors: {
  custom: {
    50: '#6a5272',
    500: '#30123c',
    950: '#000000',
  },
}
SCSS
$custom: #30123c;
$custom-light: #6a5272;
$custom-dark: #000000;
JSON
{
  "hex": "#30123c",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 282.857,
    "s": 53.846,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25033,
    "c": 0.08215,
    "h": 315.1
  },
  "luminance": 0.01387
}

Semantic roles & 50–950 ramp

primary
#30123C
secondary
#477535
accent
#DD4B74
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #30123C

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

Preview Lab → · Contrast checker → · Palette generator →

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