#48309C#48309C

#48309C is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.6% C 0.166 H 286.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#48309C
RGBrgb(72, 48, 156)
HSLhsl(253, 53%, 40%)
HSVhsv(253, 69%, 61%)
CMYKcmyk(53.8%, 69.2%, 0%, 38.8%)
CIE-LABlab(29.14, 39.33, -55.25)
CIE-LCHlch(29.14, 67.82, 305.45°)
OKLaboklab(40.62% 0.0476 -0.1587)
OKLCHoklch(40.62% 0.166 286.7)
XYZxyz(9.7284, 5.8914, 32.0706)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48309C #849C30
analogous
#304E9C #48309C #7E309C
triadic
#48309C #9C4830 #309C48
tetradic
#48309C #9C304E #849C30 #309C7E
square
#48309C #9C304E #849C30 #309C7E
split-complementary
#48309C #9C7E30 #4E9C30
monochromatic
#1D133E #32226D #48309C #6144C5 #8873D4

Accessibility & contrast

On white

9.64
#48309C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#48309C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48309C
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48309C#FFFFFF#000000##FFFFFF
##48309C1.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00429A
Tritanopia (blue-blind)
#264C62
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #48309c;
/* rgb */ color: rgb(72, 48, 156);
/* oklch */ color: oklch(40.6% 0.166 286.7);
Tailwind
colors: {
  custom: {
    50: '#836aba',
    500: '#48309c',
    950: '#000000',
  },
}
SCSS
$custom: #48309c;
$custom-light: #836aba;
$custom-dark: #000000;
JSON
{
  "hex": "#48309c",
  "rgb": {
    "r": 72,
    "g": 48,
    "b": 156
  },
  "hsl": {
    "h": 253.333,
    "s": 52.941,
    "l": 40
  },
  "oklch": {
    "l": 0.40615,
    "c": 0.1657,
    "h": 286.7
  },
  "luminance": 0.05892
}

Semantic roles & 50–950 ramp

primary
#48309C
secondary
#AABC6C
accent
#DC4BBC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #48309C

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

Preview Lab → · Contrast checker → · Palette generator →

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