#48298E#48298E

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

Color values

HEX#48298E
RGBrgb(72, 41, 142)
HSLhsl(258, 55%, 36%)
HSVhsv(258, 71%, 56%)
CMYKcmyk(49.3%, 71.1%, 0%, 44.3%)
CIE-LABlab(26.50, 39.07, -50.96)
CIE-LCHlch(26.50, 64.22, 307.48°)
OKLaboklab(38.35% 0.0569 -0.1461)
OKLCHoklch(38.35% 0.157 291.3)
XYZxyz(8.3465, 4.9163, 26.0951)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48298E #6F8E29
analogous
#293C8E #48298E #7A298E
triadic
#48298E #8E4829 #298E48
tetradic
#48298E #8E293C #6F8E29 #298E7A
square
#48298E #8E293C #6F8E29 #298E7A
split-complementary
#48298E #8E7A29 #3C8E29
monochromatic
#180E2F #301B5F #48298E #6037BD #8360D1

Accessibility & contrast

On white

10.59
#48298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48298E
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48298E#FFFFFF#000000##FFFFFF
##48298E1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#003C8C
Tritanopia (blue-blind)
#314358
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48298e;
/* rgb */ color: rgb(72, 41, 142);
/* oklch */ color: oklch(38.3% 0.157 291.3);
Tailwind
colors: {
  custom: {
    50: '#8265b0',
    500: '#48298e',
    950: '#000000',
  },
}
SCSS
$custom: #48298e;
$custom-light: #8265b0;
$custom-dark: #000000;
JSON
{
  "hex": "#48298e",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 258.416,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38349,
    "c": 0.15679,
    "h": 291.3
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#48298E
secondary
#9BB75C
accent
#DF49B1
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #48298E

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

Preview Lab → · Contrast checker → · Palette generator →

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