#48287F#48287F

#48287F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.9% C 0.139 H 295.7°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#48287F
RGBrgb(72, 40, 127)
HSLhsl(262, 52%, 33%)
HSVhsv(262, 69%, 50%)
CMYKcmyk(43.3%, 68.5%, 0%, 50.2%)
CIE-LABlab(25.04, 35.27, -43.96)
CIE-LCHlch(25.04, 56.36, 308.74°)
OKLaboklab(36.91% 0.0604 -0.1255)
OKLCHoklch(36.91% 0.139 295.7)
XYZxyz(7.2610, 4.4274, 20.5466)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48287F #5F7F28
analogous
#28337F #48287F #73287F
triadic
#48287F #7F4828 #287F48
tetradic
#48287F #7F2833 #5F7F28 #287F73
square
#48287F #7F2833 #5F7F28 #287F73
split-complementary
#48287F #7F7328 #337F28
monochromatic
#130B22 #2E1950 #48287F #6237AE #8257CA

Accessibility & contrast

On white

11.14
#48287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#48287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48287F
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48287F#FFFFFF#000000##FFFFFF
##48287F1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#3A3D50
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #48287f;
/* rgb */ color: rgb(72, 40, 127);
/* oklch */ color: oklch(36.9% 0.139 295.7);
Tailwind
colors: {
  custom: {
    50: '#8064a5',
    500: '#48287f',
    950: '#000000',
  },
}
SCSS
$custom: #48287f;
$custom-light: #8064a5;
$custom-dark: #000000;
JSON
{
  "hex": "#48287f",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 262.069,
    "s": 52.096,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36912,
    "c": 0.13929,
    "h": 295.7
  },
  "luminance": 0.04428
}

Semantic roles & 50–950 ramp

primary
#48287F
secondary
#8EAF54
accent
#DC4CA7
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B050F
muted
#7C7A7F

Preview Lab

Preview with #48287F

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

Preview Lab → · Contrast checker → · Palette generator →

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