#48258F#48258F

#48258F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.163 H 291.8°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#48258F
RGBrgb(72, 37, 143)
HSLhsl(260, 59%, 35%)
HSVhsv(260, 74%, 56%)
CMYKcmyk(49.7%, 74.1%, 0%, 43.9%)
CIE-LABlab(25.81, 41.51, -52.70)
CIE-LCHlch(25.81, 67.08, 308.23°)
OKLaboklab(37.89% 0.0605 -0.1512)
OKLCHoklch(37.89% 0.163 291.8)
XYZxyz(8.2906, 4.6837, 26.4485)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48258F #6C8F25
analogous
#25378F #48258F #7D258F
triadic
#48258F #8F4825 #258F48
tetradic
#48258F #8F2537 #6C8F25 #258F7D
square
#48258F #8F2537 #6C8F25 #258F7D
split-complementary
#48258F #8F7D25 #378F25
monochromatic
#170C2E #30185E #48258F #6032C0 #825AD4

Accessibility & contrast

On white

10.84
#48258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#48258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48258F
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48258F#FFFFFF#000000##FFFFFF
##48258F1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#314158
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #48258f;
/* rgb */ color: rgb(72, 37, 143);
/* oklch */ color: oklch(37.9% 0.163 291.8);
Tailwind
colors: {
  custom: {
    50: '#8263b1',
    500: '#48258f',
    950: '#000000',
  },
}
SCSS
$custom: #48258f;
$custom-light: #8263b1;
$custom-dark: #000000;
JSON
{
  "hex": "#48258f",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 259.811,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37892,
    "c": 0.16284,
    "h": 291.8
  },
  "luminance": 0.04684
}

Semantic roles & 50–950 ramp

primary
#48258F
secondary
#99B957
accent
#E246AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #48258F

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

Preview Lab → · Contrast checker → · Palette generator →

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