#48309F#48309F

#48309F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.9% C 0.169 H 286.1°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#48309F
RGBrgb(72, 48, 159)
HSLhsl(253, 54%, 41%)
HSVhsv(253, 70%, 62%)
CMYKcmyk(54.7%, 69.8%, 0%, 37.6%)
CIE-LABlab(29.40, 40.25, -56.64)
CIE-LCHlch(29.40, 69.49, 305.40°)
OKLaboklab(40.88% 0.0471 -0.1628)
OKLCHoklch(40.88% 0.169 286.1)
XYZxyz(9.9856, 5.9943, 33.4250)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48309F #879F30
analogous
#304F9F #48309F #7F309F
triadic
#48309F #9F4830 #309F48
tetradic
#48309F #9F304F #879F30 #309F7F
square
#48309F #9F304F #879F30 #309F7F
split-complementary
#48309F #9F7F30 #4F9F30
monochromatic
#1D1441 #332270 #48309F #6145C7 #8974D5

Accessibility & contrast

On white

9.55
#48309F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#48309F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48309F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48309F#FFFFFF#000000##FFFFFF
##48309F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#234D64
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #48309f;
/* rgb */ color: rgb(72, 48, 159);
/* oklch */ color: oklch(40.9% 0.169 286.1);
Tailwind
colors: {
  custom: {
    50: '#846abc',
    500: '#48309f',
    950: '#000000',
  },
}
SCSS
$custom: #48309f;
$custom-light: #846abc;
$custom-dark: #000000;
JSON
{
  "hex": "#48309f",
  "rgb": {
    "r": 72,
    "g": 48,
    "b": 159
  },
  "hsl": {
    "h": 252.973,
    "s": 53.623,
    "l": 40.588
  },
  "oklch": {
    "l": 0.40883,
    "c": 0.16949,
    "h": 286.1
  },
  "luminance": 0.05995
}

Semantic roles & 50–950 ramp

primary
#48309F
secondary
#ACBD6E
accent
#DD4BBD
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81

Preview Lab

Preview with #48309F

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

Preview Lab → · Contrast checker → · Palette generator →

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