#48257F#48257F

#48257F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.5% C 0.143 H 296.4°. Best body text is #FFFFFF at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#48257F
RGBrgb(72, 37, 127)
HSLhsl(263, 55%, 32%)
HSVhsv(263, 71%, 50%)
CMYKcmyk(43.3%, 70.9%, 0%, 50.2%)
CIE-LABlab(24.43, 36.95, -44.95)
CIE-LCHlch(24.43, 58.19, 309.42°)
OKLaboklab(36.48% 0.0637 -0.1284)
OKLCHoklch(36.48% 0.143 296.4)
XYZxyz(7.1638, 4.2330, 20.5142)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48257F #5C7F25
analogous
#252F7F #48257F #75257F
triadic
#48257F #7F4825 #257F48
tetradic
#48257F #7F252F #5C7F25 #257F75
square
#48257F #7F252F #5C7F25 #257F75
split-complementary
#48257F #7F7525 #2F7F25
monochromatic
#120920 #2D1750 #48257F #6333AE #8252CD

Accessibility & contrast

On white

11.37
#48257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#48257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48257F
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48257F#FFFFFF#000000##FFFFFF
##48257F1.0011.371.8511.37
#FFFFFF11.371.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#3A3B4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #48257f;
/* rgb */ color: rgb(72, 37, 127);
/* oklch */ color: oklch(36.5% 0.143 296.4);
Tailwind
colors: {
  custom: {
    50: '#8062a5',
    500: '#48257f',
    950: '#000000',
  },
}
SCSS
$custom: #48257f;
$custom-light: #8062a5;
$custom-dark: #000000;
JSON
{
  "hex": "#48257f",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 263.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36475,
    "c": 0.14337,
    "h": 296.4
  },
  "luminance": 0.04233
}

Semantic roles & 50–950 ramp

primary
#48257F
secondary
#8BB14F
accent
#DE4AA4
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B050F
muted
#7C797F

Preview Lab

Preview with #48257F

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

Preview Lab → · Contrast checker → · Palette generator →

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