#48266E#48266E

#48266E is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.2% C 0.121 H 302.3°. Best body text is #FFFFFF at 11.81:1 contrast (WCAG AA passes).

Color values

HEX#48266E
RGBrgb(72, 38, 110)
HSLhsl(268, 49%, 29%)
HSVhsv(268, 65%, 43%)
CMYKcmyk(34.5%, 65.5%, 0%, 56.9%)
CIE-LABlab(23.30, 31.64, -35.93)
CIE-LCHlch(23.30, 47.87, 311.37°)
OKLaboklab(35.25% 0.0645 -0.1019)
OKLCHoklch(35.25% 0.121 302.3)
XYZxyz(6.1794, 3.8897, 15.1741)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48266E #4C6E26
analogous
#26286E #48266E #6C266E
triadic
#48266E #6E4826 #266E48
tetradic
#48266E #6E2628 #4C6E26 #266E6C
square
#48266E #6E2628 #4C6E26 #266E6C
split-complementary
#48266E #6E6C26 #286E26
monochromatic
#0F0817 #2A1641 #48266E #66369B #844DC1

Accessibility & contrast

On white

11.81
#48266E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#48266E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48266E
11.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48266E#FFFFFF#000000##FFFFFF
##48266E1.0011.811.7811.81
#FFFFFF11.811.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#403546
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #48266e;
/* rgb */ color: rgb(72, 38, 110);
/* oklch */ color: oklch(35.2% 0.121 302.3);
Tailwind
colors: {
  custom: {
    50: '#7e6298',
    500: '#48266e',
    950: '#000000',
  },
}
SCSS
$custom: #48266e;
$custom-light: #7e6298;
$custom-dark: #000000;
JSON
{
  "hex": "#48266e",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 110
  },
  "hsl": {
    "h": 268.333,
    "s": 48.649,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35246,
    "c": 0.1206,
    "h": 302.3
  },
  "luminance": 0.0389
}

Semantic roles & 50–950 ramp

primary
#48266E
secondary
#7AA14F
accent
#D85098
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #48266E

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

Preview Lab → · Contrast checker → · Palette generator →

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