#48256F#48256F

#48256F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.123 H 302.2°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#48256F
RGBrgb(72, 37, 111)
HSLhsl(268, 50%, 29%)
HSVhsv(268, 67%, 44%)
CMYKcmyk(35.1%, 66.7%, 0%, 56.5%)
CIE-LABlab(23.16, 32.49, -36.80)
CIE-LCHlch(23.16, 49.09, 311.44°)
OKLaboklab(35.17% 0.0657 -0.1044)
OKLCHoklch(35.17% 0.123 302.2)
XYZxyz(6.2026, 3.8485, 15.4519)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48256F #4C6F25
analogous
#25276F #48256F #6D256F
triadic
#48256F #6F4825 #256F48
tetradic
#48256F #6F2527 #4C6F25 #256F6D
square
#48256F #6F2527 #4C6F25 #256F6D
split-complementary
#48256F #6F6D25 #276F25
monochromatic
#0F0817 #2A1641 #48256F #66349D #844BC3

Accessibility & contrast

On white

11.87
#48256F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#48256F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48256F
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48256F#FFFFFF#000000##FFFFFF
##48256F1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#0B376D
Tritanopia (blue-blind)
#403546
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #48256f;
/* rgb */ color: rgb(72, 37, 111);
/* oklch */ color: oklch(35.2% 0.123 302.2);
Tailwind
colors: {
  custom: {
    50: '#7e6299',
    500: '#48256f',
    950: '#000000',
  },
}
SCSS
$custom: #48256f;
$custom-light: #7e6299;
$custom-dark: #000000;
JSON
{
  "hex": "#48256f",
  "rgb": {
    "r": 72,
    "g": 37,
    "b": 111
  },
  "hsl": {
    "h": 268.378,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35168,
    "c": 0.12342,
    "h": 302.2
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#48256F
secondary
#7AA24E
accent
#DA4E98
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #48256F

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

Preview Lab → · Contrast checker → · Palette generator →

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