#48268E#48268E

#48268E is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.160 H 291.9°. Best body text is #FFFFFF at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#48268E
RGBrgb(72, 38, 142)
HSLhsl(260, 58%, 35%)
HSVhsv(260, 73%, 56%)
CMYKcmyk(49.3%, 73.2%, 0%, 44.3%)
CIE-LABlab(25.91, 40.70, -51.92)
CIE-LCHlch(25.91, 65.97, 308.09°)
OKLaboklab(37.93% 0.0598 -0.1489)
OKLCHoklch(37.93% 0.16 291.9)
XYZxyz(8.2467, 4.7166, 26.0618)
Luminance0.0472 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48268E #6C8E26
analogous
#26388E #48268E #7C268E
triadic
#48268E #8E4826 #268E48
tetradic
#48268E #8E2638 #6C8E26 #268E7C
square
#48268E #8E2638 #6C8E26 #268E7C
split-complementary
#48268E #8E7C26 #388E26
monochromatic
#170C2D #30195E #48268E #6033BE #825BD3

Accessibility & contrast

On white

10.81
#48268E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#48268E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48268E
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48268E#FFFFFF#000000##FFFFFF
##48268E1.0010.811.9410.81
#FFFFFF10.811.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F91
Deuteranopia (green-blind)
#003B8C
Tritanopia (blue-blind)
#324157
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #48268e;
/* rgb */ color: rgb(72, 38, 142);
/* oklch */ color: oklch(37.9% 0.160 291.9);
Tailwind
colors: {
  custom: {
    50: '#8263b0',
    500: '#48268e',
    950: '#000000',
  },
}
SCSS
$custom: #48268e;
$custom-light: #8263b0;
$custom-dark: #000000;
JSON
{
  "hex": "#48268e",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 142
  },
  "hsl": {
    "h": 259.615,
    "s": 57.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37934,
    "c": 0.16045,
    "h": 291.9
  },
  "luminance": 0.04717
}

Semantic roles & 50–950 ramp

primary
#48268E
secondary
#99B858
accent
#E147AF
background
#F8F6FA
surface
#EFEBF5
border
#CAC6CF
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #48268E

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

Preview Lab → · Contrast checker → · Palette generator →

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