#48246E#48246E

#48246E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 34.9% C 0.124 H 302.9°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#48246E
RGBrgb(72, 36, 110)
HSLhsl(269, 51%, 29%)
HSVhsv(269, 67%, 43%)
CMYKcmyk(34.5%, 67.3%, 0%, 56.9%)
CIE-LABlab(22.88, 32.79, -36.61)
CIE-LCHlch(22.88, 49.15, 311.85°)
OKLaboklab(34.94% 0.0671 -0.1039)
OKLCHoklch(34.94% 0.124 302.9)
XYZxyz(6.1172, 3.7653, 15.1533)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48246E #4A6E24
analogous
#24256E #48246E #6D246E
triadic
#48246E #6E4824 #246E48
tetradic
#48246E #6E2425 #4A6E24 #246E6D
square
#48246E #6E2425 #4A6E24 #246E6D
split-complementary
#48246E #6E6D24 #256E24
monochromatic
#0F0817 #2A1540 #48246E #66339C #8549C3

Accessibility & contrast

On white

11.98
#48246E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#48246E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48246E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48246E#FFFFFF#000000##FFFFFF
##48246E1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#0B366C
Tritanopia (blue-blind)
#413445
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #48246e;
/* rgb */ color: rgb(72, 36, 110);
/* oklch */ color: oklch(34.9% 0.124 302.9);
Tailwind
colors: {
  custom: {
    50: '#7e6198',
    500: '#48246e',
    950: '#000000',
  },
}
SCSS
$custom: #48246e;
$custom-light: #7e6198;
$custom-dark: #000000;
JSON
{
  "hex": "#48246e",
  "rgb": {
    "r": 72,
    "g": 36,
    "b": 110
  },
  "hsl": {
    "h": 269.189,
    "s": 50.685,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34939,
    "c": 0.12368,
    "h": 302.9
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#48246E
secondary
#78A14D
accent
#DA4E96
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #48246E

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

Preview Lab → · Contrast checker → · Palette generator →

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