#48236B#48236B

#48236B is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.6% C 0.121 H 304.4°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#48236B
RGBrgb(72, 35, 107)
HSLhsl(271, 51%, 28%)
HSVhsv(271, 67%, 42%)
CMYKcmyk(32.7%, 67.3%, 0%, 58%)
CIE-LABlab(22.45, 32.55, -35.37)
CIE-LCHlch(22.45, 48.06, 312.62°)
OKLaboklab(34.56% 0.0686 -0.1002)
OKLCHoklch(34.56% 0.121 304.4)
XYZxyz(5.9268, 3.6413, 14.2977)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48236B #466B23
analogous
#24236B #48236B #6B236A
triadic
#48236B #6B4823 #236B48
tetradic
#48236B #6B2423 #466B23 #236A6B
square
#48236B #6B2423 #466B23 #236A6B
split-complementary
#48236B #6A6B23 #236B24
monochromatic
#100817 #29143D #48236B #673299 #8646C2

Accessibility & contrast

On white

12.15
#48236B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#48236B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48236B
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48236B#FFFFFF#000000##FFFFFF
##48236B1.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#0F3669
Tritanopia (blue-blind)
#423243
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #48236b;
/* rgb */ color: rgb(72, 35, 107);
/* oklch */ color: oklch(34.6% 0.121 304.4);
Tailwind
colors: {
  custom: {
    50: '#7e6096',
    500: '#48236b',
    950: '#000000',
  },
}
SCSS
$custom: #48236b;
$custom-light: #7e6096;
$custom-dark: #000000;
JSON
{
  "hex": "#48236b",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 270.833,
    "s": 50.704,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34556,
    "c": 0.12148,
    "h": 304.4
  },
  "luminance": 0.03641
}

Semantic roles & 50–950 ramp

primary
#48236B
secondary
#749E4B
accent
#DA4E92
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #48236B

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

Preview Lab → · Contrast checker → · Palette generator →

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