#48238C#48238C

#48238C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.4% C 0.162 H 293.0°. Best body text is #FFFFFF at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#48238C
RGBrgb(72, 35, 140)
HSLhsl(261, 60%, 34%)
HSVhsv(261, 75%, 55%)
CMYKcmyk(48.6%, 75%, 0%, 45.1%)
CIE-LABlab(25.18, 41.69, -51.88)
CIE-LCHlch(25.18, 66.55, 308.79°)
OKLaboklab(37.36% 0.0631 -0.1488)
OKLCHoklch(37.36% 0.162 293)
XYZxyz(8.0058, 4.4730, 25.2474)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48238C #678C23
analogous
#23338C #48238C #7D238C
triadic
#48238C #8C4823 #238C48
tetradic
#48238C #8C2333 #678C23 #238C7D
square
#48238C #8C2333 #678C23 #238C7D
split-complementary
#48238C #8C7D23 #338C23
monochromatic
#160B2A #2F175B #48238C #612FBD #8255D4

Accessibility & contrast

On white

11.08
#48238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#48238C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48238C
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48238C#FFFFFF#000000##FFFFFF
##48238C1.0011.081.8911.08
#FFFFFF11.081.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8F
Deuteranopia (green-blind)
#003A8A
Tritanopia (blue-blind)
#333F55
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48238c;
/* rgb */ color: rgb(72, 35, 140);
/* oklch */ color: oklch(37.4% 0.162 293.0);
Tailwind
colors: {
  custom: {
    50: '#8262af',
    500: '#48238c',
    950: '#000000',
  },
}
SCSS
$custom: #48238c;
$custom-light: #8262af;
$custom-dark: #000000;
JSON
{
  "hex": "#48238c",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 261.143,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37358,
    "c": 0.16157,
    "h": 293
  },
  "luminance": 0.04473
}

Semantic roles & 50–950 ramp

primary
#48238C
secondary
#94B852
accent
#E345AB
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #48238C

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

Preview Lab → · Contrast checker → · Palette generator →

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