#48398E#48398E

#48398E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 40.9% C 0.135 H 286.9°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#48398E
RGBrgb(72, 57, 142)
HSLhsl(251, 43%, 39%)
HSVhsv(251, 60%, 56%)
CMYKcmyk(49.3%, 59.9%, 0%, 44.3%)
CIE-LABlab(30.05, 29.54, -45.19)
CIE-LCHlch(30.05, 53.99, 303.18°)
OKLaboklab(40.93% 0.0394 -0.1291)
OKLCHoklch(40.93% 0.135 286.9)
XYZxyz(9.0167, 6.2566, 26.3185)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48398E #7F8E39
analogous
#39558E #48398E #73398E
triadic
#48398E #8E4839 #398E48
tetradic
#48398E #8E3955 #7F8E39 #398E73
square
#48398E #8E3955 #7F8E39 #398E73
split-complementary
#48398E #8E7339 #558E39
monochromatic
#1C1637 #322762 #48398E #604DB7 #8778C9

Accessibility & contrast

On white

9.33
#48398E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#48398E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48398E
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48398E#FFFFFF#000000##FFFFFF
##48398E1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#00448C
Tritanopia (blue-blind)
#304C5E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #48398e;
/* rgb */ color: rgb(72, 57, 142);
/* oklch */ color: oklch(40.9% 0.135 286.9);
Tailwind
colors: {
  custom: {
    50: '#8170b0',
    500: '#48398e',
    950: '#000000',
  },
}
SCSS
$custom: #48398e;
$custom-light: #8170b0;
$custom-dark: #000000;
JSON
{
  "hex": "#48398e",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 250.588,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40928,
    "c": 0.13498,
    "h": 286.9
  },
  "luminance": 0.06257
}

Semantic roles & 50–950 ramp

primary
#48398E
secondary
#A7B271
accent
#D255BC
background
#F8F6FA
surface
#EFECF5
border
#CAC7CF
text
#0B0710
muted
#7C7A7F

Preview Lab

Preview with #48398E

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

Preview Lab → · Contrast checker → · Palette generator →

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