#48258C#48258C

#48258C is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.6% C 0.159 H 292.6°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#48258C
RGBrgb(72, 37, 140)
HSLhsl(260, 58%, 35%)
HSVhsv(260, 74%, 55%)
CMYKcmyk(48.6%, 73.6%, 0%, 45.1%)
CIE-LABlab(25.55, 40.65, -51.27)
CIE-LCHlch(25.55, 65.43, 308.41°)
OKLaboklab(37.62% 0.0612 -0.147)
OKLCHoklch(37.62% 0.159 292.6)
XYZxyz(8.0664, 4.5940, 25.2676)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48258C #698C25
analogous
#25368C #48258C #7B258C
triadic
#48258C #8C4825 #258C48
tetradic
#48258C #8C2536 #698C25 #258C7B
square
#48258C #8C2536 #698C25 #258C7B
split-complementary
#48258C #8C7B25 #368C25
monochromatic
#160B2B #2F185C #48258C #6132BC #8258D3

Accessibility & contrast

On white

10.94
#48258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#48258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48258C
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48258C#FFFFFF#000000##FFFFFF
##48258C1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#334056
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #48258c;
/* rgb */ color: rgb(72, 37, 140);
/* oklch */ color: oklch(37.6% 0.159 292.6);
Tailwind
colors: {
  custom: {
    50: '#8263ae',
    500: '#48258c',
    950: '#000000',
  },
}
SCSS
$custom: #48258c;
$custom-light: #8263ae;
$custom-dark: #000000;
JSON
{
  "hex": "#48258c",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 260.388,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37619,
    "c": 0.15923,
    "h": 292.6
  },
  "luminance": 0.04594
}

Semantic roles & 50–950 ramp

primary
#48258C
secondary
#96B855
accent
#E146AD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0510
muted
#7C7A7F

Preview Lab

Preview with #48258C

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

Preview Lab → · Contrast checker → · Palette generator →

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