#48309A#48309A

#48309A is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.4% C 0.163 H 287.1°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#48309A
RGBrgb(72, 48, 154)
HSLhsl(254, 52%, 40%)
HSVhsv(254, 69%, 60%)
CMYKcmyk(53.2%, 68.8%, 0%, 39.6%)
CIE-LABlab(28.96, 38.72, -54.31)
CIE-LCHlch(28.96, 66.70, 305.49°)
OKLaboklab(40.44% 0.0479 -0.1559)
OKLCHoklch(40.44% 0.163 287.1)
XYZxyz(9.5604, 5.8242, 31.1860)
Luminance0.0583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48309A #829A30
analogous
#304D9A #48309A #7D309A
triadic
#48309A #9A4830 #309A48
tetradic
#48309A #9A304D #829A30 #309A7D
square
#48309A #9A304D #829A30 #309A7D
split-complementary
#48309A #9A7D30 #4D9A30
monochromatic
#1C133D #32216B #48309A #6043C4 #8872D3

Accessibility & contrast

On white

9.70
#48309A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#48309A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48309A
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48309A#FFFFFF#000000##FFFFFF
##48309A1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#004198
Tritanopia (blue-blind)
#284B61
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #48309a;
/* rgb */ color: rgb(72, 48, 154);
/* oklch */ color: oklch(40.4% 0.163 287.1);
Tailwind
colors: {
  custom: {
    50: '#836ab9',
    500: '#48309a',
    950: '#000000',
  },
}
SCSS
$custom: #48309a;
$custom-light: #836ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#48309a",
  "rgb": {
    "r": 72,
    "g": 48,
    "b": 154
  },
  "hsl": {
    "h": 253.585,
    "s": 52.475,
    "l": 39.608
  },
  "oklch": {
    "l": 0.40438,
    "c": 0.16315,
    "h": 287.1
  },
  "luminance": 0.05825
}

Semantic roles & 50–950 ramp

primary
#48309A
secondary
#A9BB6B
accent
#DC4CBB
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #48309A

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

Preview Lab → · Contrast checker → · Palette generator →

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