#48337E#48337E

#48337E is a dark, vivid violet. Relative luminance 0.053; OKLCH L 38.6% C 0.122 H 292.7°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#48337E
RGBrgb(72, 51, 126)
HSLhsl(257, 42%, 35%)
HSVhsv(257, 60%, 49%)
CMYKcmyk(42.9%, 59.5%, 0%, 50.6%)
CIE-LABlab(27.44, 28.37, -39.45)
CIE-LCHlch(27.44, 48.59, 305.72°)
OKLaboklab(38.64% 0.047 -0.1123)
OKLCHoklch(38.64% 0.122 292.7)
XYZxyz(7.6212, 5.2515, 20.3467)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48337E #697E33
analogous
#33447E #48337E #6E337E
triadic
#48337E #7E4833 #337E48
tetradic
#48337E #7E3344 #697E33 #337E6E
square
#48337E #7E3344 #697E33 #337E6E
split-complementary
#48337E #7E6E33 #447E33
monochromatic
#161027 #2F2152 #48337E #6145AA #8269C2

Accessibility & contrast

On white

10.24
#48337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#48337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48337E
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48337E#FFFFFF#000000##FFFFFF
##48337E1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064280
Deuteranopia (green-blind)
#0F3F7C
Tritanopia (blue-blind)
#394353
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48337e;
/* rgb */ color: rgb(72, 51, 126);
/* oklch */ color: oklch(38.6% 0.122 292.7);
Tailwind
colors: {
  custom: {
    50: '#7f6ba4',
    500: '#48337e',
    950: '#000000',
  },
}
SCSS
$custom: #48337e;
$custom-light: #7f6ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#48337e",
  "rgb": {
    "r": 72,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 256.8,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.38637,
    "c": 0.12169,
    "h": 292.7
  },
  "luminance": 0.05252
}

Semantic roles & 50–950 ramp

primary
#48337E
secondary
#96AA63
accent
#D256AF
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #48337E

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

Preview Lab → · Contrast checker → · Palette generator →

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