#48257E#48257E

#48257E is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.4% C 0.142 H 296.7°. Best body text is #FFFFFF at 11.40:1 contrast (WCAG AA passes).

Color values

HEX#48257E
RGBrgb(72, 37, 126)
HSLhsl(264, 55%, 32%)
HSVhsv(264, 71%, 49%)
CMYKcmyk(42.9%, 70.6%, 0%, 50.6%)
CIE-LABlab(24.34, 36.67, -44.46)
CIE-LCHlch(24.34, 57.63, 309.52°)
OKLaboklab(36.39% 0.0639 -0.127)
OKLCHoklch(36.39% 0.142 296.7)
XYZxyz(7.0990, 4.2071, 20.1726)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48257E #5B7E25
analogous
#252E7E #48257E #75257E
triadic
#48257E #7E4825 #257E48
tetradic
#48257E #7E252E #5B7E25 #257E75
square
#48257E #7E252E #5B7E25 #257E75
split-complementary
#48257E #7E7525 #2E7E25
monochromatic
#12091F #2D174F #48257E #6333AD #8251CC

Accessibility & contrast

On white

11.40
#48257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#48257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48257E
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48257E#FFFFFF#000000##FFFFFF
##48257E1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A81
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#3A3A4E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #48257e;
/* rgb */ color: rgb(72, 37, 126);
/* oklch */ color: oklch(36.4% 0.142 296.7);
Tailwind
colors: {
  custom: {
    50: '#8062a4',
    500: '#48257e',
    950: '#000000',
  },
}
SCSS
$custom: #48257e;
$custom-light: #8062a4;
$custom-dark: #000000;
JSON
{
  "hex": "#48257e",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 263.596,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.3639,
    "c": 0.14214,
    "h": 296.7
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #48257E

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

Preview Lab → · Contrast checker → · Palette generator →

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