#48286F#48286F

#48286F is a dark, moderate violet. Relative luminance 0.040; OKLCH L 35.6% C 0.119 H 301.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#48286F
RGBrgb(72, 40, 111)
HSLhsl(267, 47%, 30%)
HSVhsv(267, 64%, 44%)
CMYKcmyk(35.1%, 64%, 0%, 56.5%)
CIE-LABlab(23.81, 30.74, -35.75)
CIE-LCHlch(23.81, 47.15, 310.69°)
OKLaboklab(35.64% 0.0618 -0.1014)
OKLCHoklch(35.64% 0.119 301.4)
XYZxyz(6.2998, 4.0430, 15.4843)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48286F #4F6F28
analogous
#282C6F #48286F #6C286F
triadic
#48286F #6F4828 #286F48
tetradic
#48286F #6F282C #4F6F28 #286F6C
square
#48286F #6F282C #4F6F28 #286F6C
split-complementary
#48286F #6F6C28 #2C6F28
monochromatic
#0F0816 #2B1842 #48286F #65389C #8351C0

Accessibility & contrast

On white

11.61
#48286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#48286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48286F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48286F#FFFFFF#000000##FFFFFF
##48286F1.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#12386D
Tritanopia (blue-blind)
#403747
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #48286f;
/* rgb */ color: rgb(72, 40, 111);
/* oklch */ color: oklch(35.6% 0.119 301.4);
Tailwind
colors: {
  custom: {
    50: '#7e6499',
    500: '#48286f',
    950: '#000000',
  },
}
SCSS
$custom: #48286f;
$custom-light: #7e6499;
$custom-dark: #000000;
JSON
{
  "hex": "#48286f",
  "rgb": {
    "r": 72,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 267.042,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.35639,
    "c": 0.11875,
    "h": 301.4
  },
  "luminance": 0.04043
}

Semantic roles & 50–950 ramp

primary
#48286F
secondary
#7DA151
accent
#D7519A
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A050E
muted
#7C7A7E

Preview Lab

Preview with #48286F

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

Preview Lab → · Contrast checker → · Palette generator →

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