#48268F#48268F

#48268F is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.0% C 0.162 H 291.6°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#48268F
RGBrgb(72, 38, 143)
HSLhsl(259, 58%, 35%)
HSVhsv(259, 73%, 56%)
CMYKcmyk(49.7%, 73.4%, 0%, 43.9%)
CIE-LABlab(26.00, 40.99, -52.39)
CIE-LCHlch(26.00, 66.52, 308.04°)
OKLaboklab(38.02% 0.0596 -0.1503)
OKLCHoklch(38.02% 0.162 291.6)
XYZxyz(8.3221, 4.7468, 26.4590)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48268F #6D8F26
analogous
#26388F #48268F #7D268F
triadic
#48268F #8F4826 #268F48
tetradic
#48268F #8F2638 #6D8F26 #268F7D
square
#48268F #8F2638 #6D8F26 #268F7D
split-complementary
#48268F #8F7D26 #388F26
monochromatic
#170C2E #30195F #48268F #6033BF #835CD4

Accessibility & contrast

On white

10.77
#48268F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#48268F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48268F
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48268F#FFFFFF#000000##FFFFFF
##48268F1.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #48268f;
/* rgb */ color: rgb(72, 38, 143);
/* oklch */ color: oklch(38.0% 0.162 291.6);
Tailwind
colors: {
  custom: {
    50: '#8264b1',
    500: '#48268f',
    950: '#000000',
  },
}
SCSS
$custom: #48268f;
$custom-light: #8264b1;
$custom-dark: #000000;
JSON
{
  "hex": "#48268f",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 143
  },
  "hsl": {
    "h": 259.429,
    "s": 58.011,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38024,
    "c": 0.16166,
    "h": 291.6
  },
  "luminance": 0.04747
}

Semantic roles & 50–950 ramp

primary
#48268F
secondary
#99B958
accent
#E147AF
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #48268F

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

Preview Lab → · Contrast checker → · Palette generator →

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