#48309D#48309D

#48309D is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.7% C 0.167 H 286.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#48309D
RGBrgb(72, 48, 157)
HSLhsl(253, 53%, 40%)
HSVhsv(253, 69%, 62%)
CMYKcmyk(54.1%, 69.4%, 0%, 38.4%)
CIE-LABlab(29.22, 39.64, -55.71)
CIE-LCHlch(29.22, 68.38, 305.43°)
OKLaboklab(40.7% 0.0474 -0.1601)
OKLCHoklch(40.7% 0.167 286.5)
XYZxyz(9.8134, 5.9254, 32.5184)
Luminance0.0593 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48309D #859D30
analogous
#304E9D #48309D #7E309D
triadic
#48309D #9D4830 #309D48
tetradic
#48309D #9D304E #859D30 #309D7E
square
#48309D #9D304E #859D30 #309D7E
split-complementary
#48309D #9D7E30 #4E9D30
monochromatic
#1D133F #33226E #48309D #6144C6 #8973D4

Accessibility & contrast

On white

9.61
#48309D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#48309D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48309D
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48309D#FFFFFF#000000##FFFFFF
##48309D1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#00429B
Tritanopia (blue-blind)
#254C62
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #48309d;
/* rgb */ color: rgb(72, 48, 157);
/* oklch */ color: oklch(40.7% 0.167 286.5);
Tailwind
colors: {
  custom: {
    50: '#846abb',
    500: '#48309d',
    950: '#000000',
  },
}
SCSS
$custom: #48309d;
$custom-light: #846abb;
$custom-dark: #000000;
JSON
{
  "hex": "#48309d",
  "rgb": {
    "r": 72,
    "g": 48,
    "b": 157
  },
  "hsl": {
    "h": 253.211,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.40704,
    "c": 0.16696,
    "h": 286.5
  },
  "luminance": 0.05926
}

Semantic roles & 50–950 ramp

primary
#48309D
secondary
#ABBC6D
accent
#DD4BBD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48309D

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

Preview Lab → · Contrast checker → · Palette generator →

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