#48298F#48298F

#48298F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.158 H 291.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#48298F
RGBrgb(72, 41, 143)
HSLhsl(258, 55%, 36%)
HSVhsv(258, 71%, 56%)
CMYKcmyk(49.7%, 71.3%, 0%, 43.9%)
CIE-LABlab(26.58, 39.37, -51.44)
CIE-LCHlch(26.58, 64.78, 307.43°)
OKLaboklab(38.44% 0.0567 -0.1475)
OKLCHoklch(38.44% 0.158 291)
XYZxyz(8.4219, 4.9464, 26.4923)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48298F #708F29
analogous
#293D8F #48298F #7B298F
triadic
#48298F #8F4829 #298F48
tetradic
#48298F #8F293D #708F29 #298F7B
square
#48298F #8F293D #708F29 #298F7B
split-complementary
#48298F #8F7B29 #3D8F29
monochromatic
#180E30 #301B5F #48298F #6037BF #8361D2

Accessibility & contrast

On white

10.56
#48298F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#48298F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48298F
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48298F#FFFFFF#000000##FFFFFF
##48298F1.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#003D8D
Tritanopia (blue-blind)
#314359
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48298f;
/* rgb */ color: rgb(72, 41, 143);
/* oklch */ color: oklch(38.4% 0.158 291.0);
Tailwind
colors: {
  custom: {
    50: '#8265b1',
    500: '#48298f',
    950: '#000000',
  },
}
SCSS
$custom: #48298f;
$custom-light: #8265b1;
$custom-dark: #000000;
JSON
{
  "hex": "#48298f",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 258.235,
    "s": 55.435,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38437,
    "c": 0.15802,
    "h": 291
  },
  "luminance": 0.04947
}

Semantic roles & 50–950 ramp

primary
#48298F
secondary
#9CB75C
accent
#DF49B1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #48298F

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

Preview Lab → · Contrast checker → · Palette generator →

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