#48267F#48267F

#48267F is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.6% C 0.142 H 296.2°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#48267F
RGBrgb(72, 38, 127)
HSLhsl(263, 54%, 32%)
HSVhsv(263, 70%, 50%)
CMYKcmyk(43.3%, 70.1%, 0%, 50.2%)
CIE-LABlab(24.63, 36.40, -44.63)
CIE-LCHlch(24.63, 57.59, 309.20°)
OKLaboklab(36.62% 0.0626 -0.1275)
OKLCHoklch(36.62% 0.142 296.2)
XYZxyz(7.1954, 4.2961, 20.5247)
Luminance0.0430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48267F #5D7F26
analogous
#26317F #48267F #74267F
triadic
#48267F #7F4826 #267F48
tetradic
#48267F #7F2631 #5D7F26 #267F74
square
#48267F #7F2631 #5D7F26 #267F74
split-complementary
#48267F #7F7426 #317F26
monochromatic
#130A21 #2D1850 #48267F #6334AE #8254CC

Accessibility & contrast

On white

11.30
#48267F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#48267F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48267F
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48267F#FFFFFF#000000##FFFFFF
##48267F1.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B82
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#3A3B4F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #48267f;
/* rgb */ color: rgb(72, 38, 127);
/* oklch */ color: oklch(36.6% 0.142 296.2);
Tailwind
colors: {
  custom: {
    50: '#8063a5',
    500: '#48267f',
    950: '#000000',
  },
}
SCSS
$custom: #48267f;
$custom-light: #8063a5;
$custom-dark: #000000;
JSON
{
  "hex": "#48267f",
  "rgb": {
    "r": 72,
    "g": 38,
    "b": 127
  },
  "hsl": {
    "h": 262.921,
    "s": 53.939,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36618,
    "c": 0.14203,
    "h": 296.2
  },
  "luminance": 0.04296
}

Semantic roles & 50–950 ramp

primary
#48267F
secondary
#8CB051
accent
#DD4AA5
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #48267F

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

Preview Lab → · Contrast checker → · Palette generator →

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