#48298D#48298D

#48298D is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.156 H 291.5°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#48298D
RGBrgb(72, 41, 141)
HSLhsl(259, 55%, 36%)
HSVhsv(259, 71%, 55%)
CMYKcmyk(48.9%, 70.9%, 0%, 44.7%)
CIE-LABlab(26.41, 38.78, -50.48)
CIE-LCHlch(26.41, 63.66, 307.53°)
OKLaboklab(38.26% 0.0571 -0.1447)
OKLCHoklch(38.26% 0.156 291.5)
XYZxyz(8.2718, 4.8864, 25.7015)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48298D #6E8D29
analogous
#293C8D #48298D #7A298D
triadic
#48298D #8D4829 #298D48
tetradic
#48298D #8D293C #6E8D29 #298D7A
square
#48298D #8D293C #6E8D29 #298D7A
split-complementary
#48298D #8D7A29 #3C8D29
monochromatic
#180D2E #301B5E #48298D #6037BC #8360D1

Accessibility & contrast

On white

10.62
#48298D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#48298D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48298D
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48298D#FFFFFF#000000##FFFFFF
##48298D1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#003C8B
Tritanopia (blue-blind)
#324258
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48298d;
/* rgb */ color: rgb(72, 41, 141);
/* oklch */ color: oklch(38.3% 0.156 291.5);
Tailwind
colors: {
  custom: {
    50: '#8265af',
    500: '#48298d',
    950: '#000000',
  },
}
SCSS
$custom: #48298d;
$custom-light: #8265af;
$custom-dark: #000000;
JSON
{
  "hex": "#48298d",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 141
  },
  "hsl": {
    "h": 258.6,
    "s": 54.945,
    "l": 35.686
  },
  "oklch": {
    "l": 0.3826,
    "c": 0.15554,
    "h": 291.5
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#48298D
secondary
#9AB65B
accent
#DE4AB0
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #48298D

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

Preview Lab → · Contrast checker → · Palette generator →

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