#48246F#48246F

#48246F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.0% C 0.125 H 302.4°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#48246F
RGBrgb(72, 36, 111)
HSLhsl(269, 51%, 29%)
HSVhsv(269, 68%, 44%)
CMYKcmyk(35.1%, 67.6%, 0%, 56.5%)
CIE-LABlab(22.96, 33.06, -37.13)
CIE-LCHlch(22.96, 49.72, 311.68°)
OKLaboklab(35.02% 0.067 -0.1054)
OKLCHoklch(35.02% 0.125 302.4)
XYZxyz(6.1719, 3.7872, 15.4417)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48246F #4B6F24
analogous
#24266F #48246F #6E246F
triadic
#48246F #6F4824 #246F48
tetradic
#48246F #6F2426 #4B6F24 #246F6E
square
#48246F #6F2426 #4B6F24 #246F6E
split-complementary
#48246F #6F6E24 #266F24
monochromatic
#0F0717 #2A1541 #48246F #66339D #8449C4

Accessibility & contrast

On white

11.95
#48246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#48246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48246F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48246F#FFFFFF#000000##FFFFFF
##48246F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#09376D
Tritanopia (blue-blind)
#403446
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #48246f;
/* rgb */ color: rgb(72, 36, 111);
/* oklch */ color: oklch(35.0% 0.125 302.4);
Tailwind
colors: {
  custom: {
    50: '#7e6199',
    500: '#48246f',
    950: '#000000',
  },
}
SCSS
$custom: #48246f;
$custom-light: #7e6199;
$custom-dark: #000000;
JSON
{
  "hex": "#48246f",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 268.8,
    "s": 51.02,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35017,
    "c": 0.12493,
    "h": 302.4
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#48246F
secondary
#79A24D
accent
#DA4D97
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #48246F

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

Preview Lab → · Contrast checker → · Palette generator →

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