#48125E#48125E

#48125E is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.4% C 0.130 H 313.9°. Best body text is #FFFFFF at 13.78:1 contrast (WCAG AA passes).

Color values

HEX#48125E
RGBrgb(72, 18, 94)
HSLhsl(283, 68%, 22%)
HSVhsv(283, 81%, 37%)
CMYKcmyk(23.4%, 80.9%, 0%, 63.1%)
CIE-LABlab(18.45, 37.72, -33.29)
CIE-LCHlch(18.45, 50.31, 318.57°)
OKLaboklab(31.38% 0.0903 -0.094)
OKLCHoklch(31.38% 0.13 313.9)
XYZxyz(4.9088, 2.6186, 10.8344)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48125E #285E12
analogous
#22125E #48125E #5E124E
triadic
#48125E #5E4812 #125E48
tetradic
#48125E #5E2212 #285E12 #124E5E
square
#48125E #5E2212 #285E12 #124E5E
split-complementary
#48125E #4E5E12 #125E22
monochromatic
#14051A #21082B #48125E #6F1C91 #9726C5

Accessibility & contrast

On white

13.78
#48125E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#48125E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48125E
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48125E#FFFFFF#000000##FFFFFF
##48125E1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#0B2E5C
Tritanopia (blue-blind)
#462337
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48125e;
/* rgb */ color: rgb(72, 18, 94);
/* oklch */ color: oklch(31.4% 0.130 313.9);
Tailwind
colors: {
  custom: {
    50: '#7e578c',
    500: '#48125e',
    950: '#000000',
  },
}
SCSS
$custom: #48125e;
$custom-light: #7e578c;
$custom-dark: #000000;
JSON
{
  "hex": "#48125e",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 94
  },
  "hsl": {
    "h": 282.632,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31381,
    "c": 0.1304,
    "h": 313.9
  },
  "luminance": 0.02618
}

Semantic roles & 50–950 ramp

primary
#48125E
secondary
#529635
accent
#EB3D6F
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48125E

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

Preview Lab → · Contrast checker → · Palette generator →

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