#48255D#48255D

#48255D is a dark, moderate violet. Relative luminance 0.035; OKLCH L 33.9% C 0.101 H 311.0°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#48255D
RGBrgb(72, 37, 93)
HSLhsl(278, 43%, 25%)
HSVhsv(278, 60%, 36%)
CMYKcmyk(22.6%, 60.2%, 0%, 63.5%)
CIE-LABlab(21.91, 27.72, -27.06)
CIE-LCHlch(21.91, 38.74, 315.68°)
OKLaboklab(33.86% 0.066 -0.0759)
OKLCHoklch(33.86% 0.101 311)
XYZxyz(5.3095, 3.4913, 10.7480)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48255D #3A5D25
analogous
#2C255D #48255D #5D2556
triadic
#48255D #5D4825 #255D48
tetradic
#48255D #5D2C25 #3A5D25 #25565D
square
#48255D #5D2C25 #3A5D25 #25565D
split-complementary
#48255D #565D25 #255D2C
monochromatic
#110916 #261431 #48255D #6A3689 #8C48B5

Accessibility & contrast

On white

12.37
#48255D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#48255D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48255D
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48255D#FFFFFF#000000##FFFFFF
##48255D1.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14335F
Deuteranopia (green-blind)
#20355C
Tritanopia (blue-blind)
#452F3D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #48255d;
/* rgb */ color: rgb(72, 37, 93);
/* oklch */ color: oklch(33.9% 0.101 311.0);
Tailwind
colors: {
  custom: {
    50: '#7d618b',
    500: '#48255d',
    950: '#000000',
  },
}
SCSS
$custom: #48255d;
$custom-light: #7d618b;
$custom-dark: #000000;
JSON
{
  "hex": "#48255d",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 93
  },
  "hsl": {
    "h": 277.5,
    "s": 43.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.33856,
    "c": 0.1006,
    "h": 311
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#48255D
secondary
#67904D
accent
#D35584
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #48255D

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

Preview Lab → · Contrast checker → · Palette generator →

#48255D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva