#48238F#48238F

#48238F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.165 H 292.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#48238F
RGBrgb(72, 35, 143)
HSLhsl(261, 61%, 35%)
HSVhsv(261, 76%, 56%)
CMYKcmyk(49.7%, 75.5%, 0%, 43.9%)
CIE-LABlab(25.45, 42.54, -53.29)
CIE-LCHlch(25.45, 68.19, 308.60°)
OKLaboklab(37.64% 0.0623 -0.1529)
OKLCHoklch(37.64% 0.165 292.2)
XYZxyz(8.2301, 4.5627, 26.4283)
Luminance0.0456 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48238F #6A8F23
analogous
#23348F #48238F #7E238F
triadic
#48238F #8F4823 #238F48
tetradic
#48238F #8F2334 #6A8F23 #238F7E
square
#48238F #8F2334 #6A8F23 #238F7E
split-complementary
#48238F #8F7E23 #348F23
monochromatic
#160B2D #2F175E #48238F #612FC0 #8257D6

Accessibility & contrast

On white

10.98
#48238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#48238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48238F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48238F#FFFFFF#000000##FFFFFF
##48238F1.0010.981.9110.98
#FFFFFF10.981.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#314057
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48238f;
/* rgb */ color: rgb(72, 35, 143);
/* oklch */ color: oklch(37.6% 0.165 292.2);
Tailwind
colors: {
  custom: {
    50: '#8362b1',
    500: '#48238f',
    950: '#000000',
  },
}
SCSS
$custom: #48238f;
$custom-light: #8362b1;
$custom-dark: #000000;
JSON
{
  "hex": "#48238f",
  "rgb": {
    "r": 72,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 260.556,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37635,
    "c": 0.16512,
    "h": 292.2
  },
  "luminance": 0.04563
}

Semantic roles & 50–950 ramp

primary
#48238F
secondary
#97BA54
accent
#E444AD
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #48238F

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

Preview Lab → · Contrast checker → · Palette generator →

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