#30123D#30123D

#30123D is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.083 H 314.2°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#30123D
RGBrgb(48, 18, 61)
HSLhsl(282, 54%, 15%)
HSVhsv(282, 70%, 24%)
CMYKcmyk(21.3%, 70.5%, 0%, 76.1%)
CIE-LABlab(11.94, 23.70, -21.29)
CIE-LCHlch(11.94, 31.86, 318.06°)
OKLaboklab(25.11% 0.0582 -0.0597)
OKLCHoklch(25.11% 0.083 314.2)
XYZxyz(2.2774, 1.3980, 4.5638)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30123D #1F3D12
analogous
#1A123D #30123D #3D1234
triadic
#30123D #3D3012 #123D30
tetradic
#30123D #3D1A12 #1F3D12 #12343D
square
#30123D #3D1A12 #1F3D12 #12343D
split-complementary
#30123D #343D12 #123D1A
monochromatic
#130718 #130718 #30123D #55206C #7A2E9C

Accessibility & contrast

On white

16.41
#30123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30123D
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30123D#FFFFFF#000000##FFFFFF
##30123D1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041E3E
Deuteranopia (green-blind)
#11203C
Tritanopia (blue-blind)
#2F1A25
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30123d;
/* rgb */ color: rgb(48, 18, 61);
/* oklch */ color: oklch(25.1% 0.083 314.2);
Tailwind
colors: {
  custom: {
    50: '#6a5273',
    500: '#30123d',
    950: '#000000',
  },
}
SCSS
$custom: #30123d;
$custom-light: #6a5273;
$custom-dark: #000000;
JSON
{
  "hex": "#30123d",
  "rgb": {
    "r": 48,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 281.86,
    "s": 54.43,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25108,
    "c": 0.0834,
    "h": 314.2
  },
  "luminance": 0.01398
}

Semantic roles & 50–950 ramp

primary
#30123D
secondary
#497635
accent
#DE4A77
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #30123D

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

Preview Lab → · Contrast checker → · Palette generator →

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