#48258E#48258E

#48258E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.8% C 0.162 H 292.1°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#48258E
RGBrgb(72, 37, 142)
HSLhsl(260, 59%, 35%)
HSVhsv(260, 74%, 56%)
CMYKcmyk(49.3%, 73.9%, 0%, 44.3%)
CIE-LABlab(25.72, 41.22, -52.22)
CIE-LCHlch(25.72, 66.53, 308.29°)
OKLaboklab(37.8% 0.0607 -0.1498)
OKLCHoklch(37.8% 0.162 292.1)
XYZxyz(8.2152, 4.6536, 26.0513)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48258E #6B8E25
analogous
#25378E #48258E #7C258E
triadic
#48258E #8E4825 #258E48
tetradic
#48258E #8E2537 #6B8E25 #258E7C
square
#48258E #8E2537 #6B8E25 #258E7C
split-complementary
#48258E #8E7C25 #378E25
monochromatic
#170C2D #2F185D #48258E #6132BF #825AD4

Accessibility & contrast

On white

10.88
#48258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#48258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48258E
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48258E#FFFFFF#000000##FFFFFF
##48258E1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#324157
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #48258e;
/* rgb */ color: rgb(72, 37, 142);
/* oklch */ color: oklch(37.8% 0.162 292.1);
Tailwind
colors: {
  custom: {
    50: '#8263b0',
    500: '#48258e',
    950: '#000000',
  },
}
SCSS
$custom: #48258e;
$custom-light: #8263b0;
$custom-dark: #000000;
JSON
{
  "hex": "#48258e",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 260,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37801,
    "c": 0.16164,
    "h": 292.1
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#48258E
secondary
#98B956
accent
#E246AE
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #48258E

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

Preview Lab → · Contrast checker → · Palette generator →

#48258E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva