#48266F#48266F

#48266F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.3% C 0.122 H 301.9°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#48266F
RGBrgb(72, 38, 111)
HSLhsl(268, 49%, 29%)
HSVhsv(268, 66%, 44%)
CMYKcmyk(35.1%, 65.8%, 0%, 56.5%)
CIE-LABlab(23.38, 31.91, -36.45)
CIE-LCHlch(23.38, 48.45, 311.20°)
OKLaboklab(35.32% 0.0644 -0.1034)
OKLCHoklch(35.32% 0.122 301.9)
XYZxyz(6.2342, 3.9116, 15.4624)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48266F #4D6F26
analogous
#26296F #48266F #6D266F
triadic
#48266F #6F4826 #266F48
tetradic
#48266F #6F2629 #4D6F26 #266F6D
square
#48266F #6F2629 #4D6F26 #266F6D
split-complementary
#48266F #6F6D26 #296F26
monochromatic
#0F0817 #2A1641 #48266F #66369D #844DC2

Accessibility & contrast

On white

11.78
#48266F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #48266F
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48266F#FFFFFF#000000##FFFFFF
##48266F1.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#0E376D
Tritanopia (blue-blind)
#403646
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #48266f;
/* rgb */ color: rgb(72, 38, 111);
/* oklch */ color: oklch(35.3% 0.122 301.9);
Tailwind
colors: {
  custom: {
    50: '#7e6299',
    500: '#48266f',
    950: '#000000',
  },
}
SCSS
$custom: #48266f;
$custom-light: #7e6299;
$custom-dark: #000000;
JSON
{
  "hex": "#48266f",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 111
  },
  "hsl": {
    "h": 267.945,
    "s": 48.993,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35323,
    "c": 0.12188,
    "h": 301.9
  },
  "luminance": 0.03912
}

Semantic roles & 50–950 ramp

primary
#48266F
secondary
#7BA24F
accent
#D94F99
background
#F7F5F9
surface
#EEEAF2
border
#C9C6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #48266F

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

Preview Lab → · Contrast checker → · Palette generator →

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