#48236A#48236A

#48236A is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.5% C 0.120 H 304.8°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#48236A
RGBrgb(72, 35, 106)
HSLhsl(271, 50%, 28%)
HSVhsv(271, 67%, 42%)
CMYKcmyk(32.1%, 67%, 0%, 58.4%)
CIE-LABlab(22.37, 32.28, -34.84)
CIE-LCHlch(22.37, 47.49, 312.82°)
OKLaboklab(34.48% 0.0687 -0.0987)
OKLCHoklch(34.48% 0.12 304.8)
XYZxyz(5.8745, 3.6204, 14.0222)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48236A #456A23
analogous
#25236A #48236A #6A2368
triadic
#48236A #6A4823 #236A48
tetradic
#48236A #6A2523 #456A23 #23686A
square
#48236A #6A2523 #456A23 #23686A
split-complementary
#48236A #686A23 #236A25
monochromatic
#100817 #29143C #48236A #673298 #8646C2

Accessibility & contrast

On white

12.18
#48236A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#48236A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48236A
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48236A#FFFFFF#000000##FFFFFF
##48236A1.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346C
Deuteranopia (green-blind)
#113668
Tritanopia (blue-blind)
#423243
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #48236a;
/* rgb */ color: rgb(72, 35, 106);
/* oklch */ color: oklch(34.5% 0.120 304.8);
Tailwind
colors: {
  custom: {
    50: '#7e6095',
    500: '#48236a',
    950: '#000000',
  },
}
SCSS
$custom: #48236a;
$custom-light: #7e6095;
$custom-dark: #000000;
JSON
{
  "hex": "#48236a",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 271.268,
    "s": 50.355,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34479,
    "c": 0.12024,
    "h": 304.8
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#48236A
secondary
#739D4B
accent
#DA4E91
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #48236A

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

Preview Lab → · Contrast checker → · Palette generator →

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