#48255E#48255E

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

Color values

HEX#48255E
RGBrgb(72, 37, 94)
HSLhsl(277, 44%, 26%)
HSVhsv(277, 61%, 37%)
CMYKcmyk(23.4%, 60.6%, 0%, 63.1%)
CIE-LABlab(21.98, 27.97, -27.62)
CIE-LCHlch(21.98, 39.31, 315.36°)
OKLaboklab(33.92% 0.0661 -0.0775)
OKLCHoklch(33.92% 0.102 310.4)
XYZxyz(5.3541, 3.5091, 10.9828)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48255E #3B5E25
analogous
#2B255E #48255E #5E2557
triadic
#48255E #5E4825 #255E48
tetradic
#48255E #5E2B25 #3B5E25 #25575E
square
#48255E #5E2B25 #3B5E25 #25575E
split-complementary
#48255E #575E25 #255E2B
monochromatic
#110916 #261432 #48255E #6A368A #8B48B6

Accessibility & contrast

On white

12.34
#48255E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48255E
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48255E#FFFFFF#000000##FFFFFF
##48255E1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133360
Deuteranopia (green-blind)
#20355D
Tritanopia (blue-blind)
#452F3D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #48255e;
/* rgb */ color: rgb(72, 37, 94);
/* oklch */ color: oklch(33.9% 0.102 310.4);
Tailwind
colors: {
  custom: {
    50: '#7d618c',
    500: '#48255e',
    950: '#000000',
  },
}
SCSS
$custom: #48255e;
$custom-light: #7d618c;
$custom-dark: #000000;
JSON
{
  "hex": "#48255e",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 94
  },
  "hsl": {
    "h": 276.842,
    "s": 43.511,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33924,
    "c": 0.10186,
    "h": 310.4
  },
  "luminance": 0.03509
}

Semantic roles & 50–950 ramp

primary
#48255E
secondary
#68914D
accent
#D35585
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #48255E

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

Preview Lab → · Contrast checker → · Palette generator →

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