#48229B#48229B

#48229B is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.180 H 289.4°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#48229B
RGBrgb(72, 34, 155)
HSLhsl(259, 64%, 37%)
HSVhsv(259, 78%, 61%)
CMYKcmyk(53.5%, 78.1%, 0%, 39.2%)
CIE-LABlab(26.41, 46.42, -59.10)
CIE-LCHlch(26.41, 75.15, 308.15°)
OKLaboklab(38.66% 0.0599 -0.1699)
OKLCHoklch(38.66% 0.18 289.4)
XYZxyz(9.1592, 4.8879, 31.4648)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48229B #759B22
analogous
#22399B #48229B #85229B
triadic
#48229B #9B4822 #229B48
tetradic
#48229B #9B2239 #759B22 #229B85
square
#48229B #9B2239 #759B22 #229B85
split-complementary
#48229B #9B8522 #399B22
monochromatic
#190C37 #311769 #48229B #5F2DCD #845CDB

Accessibility & contrast

On white

10.62
#48229B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#48229B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48229B
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48229B#FFFFFF#000000##FFFFFF
##48229B1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003B99
Tritanopia (blue-blind)
#28445E
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48229b;
/* rgb */ color: rgb(72, 34, 155);
/* oklch */ color: oklch(38.7% 0.180 289.4);
Tailwind
colors: {
  custom: {
    50: '#8462ba',
    500: '#48229b',
    950: '#000000',
  },
}
SCSS
$custom: #48229b;
$custom-light: #8462ba;
$custom-dark: #000000;
JSON
{
  "hex": "#48229b",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 155
  },
  "hsl": {
    "h": 258.843,
    "s": 64.021,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38657,
    "c": 0.18016,
    "h": 289.4
  },
  "luminance": 0.04888
}

Semantic roles & 50–950 ramp

primary
#48229B
secondary
#A0C059
accent
#E741B3
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #48229B

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

Preview Lab → · Contrast checker → · Palette generator →

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