#48125F#48125F

#48125F is a dark, vivid purple. Relative luminance 0.026; OKLCH L 31.5% C 0.131 H 313.3°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#48125F
RGBrgb(72, 18, 95)
HSLhsl(282, 68%, 22%)
HSVhsv(282, 81%, 37%)
CMYKcmyk(24.2%, 81.1%, 0%, 62.7%)
CIE-LABlab(18.53, 37.95, -33.82)
CIE-LCHlch(18.53, 50.84, 318.29°)
OKLaboklab(31.46% 0.0902 -0.0956)
OKLCHoklch(31.46% 0.131 313.3)
XYZxyz(4.9540, 2.6367, 11.0722)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48125F #295F12
analogous
#22125F #48125F #5F1250
triadic
#48125F #5F4812 #125F48
tetradic
#48125F #5F2212 #295F12 #12505F
square
#48125F #5F2212 #295F12 #12505F
split-complementary
#48125F #505F12 #125F22
monochromatic
#13051A #21082C #48125F #6F1C92 #9625C6

Accessibility & contrast

On white

13.75
#48125F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#48125F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48125F
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48125F#FFFFFF#000000##FFFFFF
##48125F1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A61
Deuteranopia (green-blind)
#0A2E5D
Tritanopia (blue-blind)
#462438
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #48125f;
/* rgb */ color: rgb(72, 18, 95);
/* oklch */ color: oklch(31.5% 0.131 313.3);
Tailwind
colors: {
  custom: {
    50: '#7e578d',
    500: '#48125f',
    950: '#000000',
  },
}
SCSS
$custom: #48125f;
$custom-light: #7e578d;
$custom-dark: #000000;
JSON
{
  "hex": "#48125f",
  "rgb": {
    "r": 72,
    "g": 18,
    "b": 95
  },
  "hsl": {
    "h": 282.078,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.31462,
    "c": 0.13141,
    "h": 313.3
  },
  "luminance": 0.02637
}

Semantic roles & 50–950 ramp

primary
#48125F
secondary
#539736
accent
#EB3D71
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A030C
muted
#7C787D

Preview Lab

Preview with #48125F

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

Preview Lab → · Contrast checker → · Palette generator →

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