#48396B#48396B

#48396B is a dark, moderate violet. Relative luminance 0.054; OKLCH L 38.5% C 0.084 H 296.0°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#48396B
RGBrgb(72, 57, 107)
HSLhsl(258, 30%, 32%)
HSVhsv(258, 47%, 42%)
CMYKcmyk(32.7%, 46.7%, 0%, 58%)
CIE-LABlab(27.75, 18.87, -26.90)
CIE-LCHlch(27.75, 32.86, 305.05°)
OKLaboklab(38.48% 0.0369 -0.0755)
OKLCHoklch(38.48% 0.084 296)
XYZxyz(6.7888, 5.3654, 14.5850)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48396B #5C6B39
analogous
#39436B #48396B #61396B
triadic
#48396B #6B4839 #396B48
tetradic
#48396B #6B3943 #5C6B39 #396B61
square
#48396B #6B3943 #5C6B39 #396B61
split-complementary
#48396B #6B6139 #436B39
monochromatic
#120E1B #2D2443 #48396B #634E93 #826DB1

Accessibility & contrast

On white

10.13
#48396B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#48396B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48396B
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48396B#FFFFFF#000000##FFFFFF
##48396B1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A426D
Deuteranopia (green-blind)
#2C416A
Tritanopia (blue-blind)
#40424D
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48396b;
/* rgb */ color: rgb(72, 57, 107);
/* oklch */ color: oklch(38.5% 0.084 296.0);
Tailwind
colors: {
  custom: {
    50: '#7d6f95',
    500: '#48396b',
    950: '#000000',
  },
}
SCSS
$custom: #48396b;
$custom-light: #7d6f95;
$custom-dark: #000000;
JSON
{
  "hex": "#48396b",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 107
  },
  "hsl": {
    "h": 258,
    "s": 30.488,
    "l": 32.157
  },
  "oklch": {
    "l": 0.38476,
    "c": 0.08402,
    "h": 296
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#48396B
secondary
#8B9B65
accent
#C761A8
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#0A070D
muted
#7C7A7E

Preview Lab

Preview with #48396B

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

Preview Lab → · Contrast checker → · Palette generator →

#48396B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva