#48335F#48335F

#48335F is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.5% C 0.077 H 304.9°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#48335F
RGBrgb(72, 51, 95)
HSLhsl(269, 30%, 29%)
HSVhsv(269, 46%, 37%)
CMYKcmyk(24.2%, 46.3%, 0%, 62.7%)
CIE-LABlab(25.48, 19.43, -22.74)
CIE-LCHlch(25.48, 29.91, 310.52°)
OKLaboklab(36.54% 0.0442 -0.0634)
OKLCHoklch(36.54% 0.077 304.9)
XYZxyz(5.9214, 4.5716, 11.3947)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48335F #4A5F33
analogous
#33345F #48335F #5E335F
triadic
#48335F #5F4833 #335F48
tetradic
#48335F #5F3334 #4A5F33 #335F5E
square
#48335F #5F3334 #4A5F33 #335F5E
split-complementary
#48335F #5F5E33 #345F33
monochromatic
#0F0B14 #2A1E37 #48335F #664887 #8562AB

Accessibility & contrast

On white

10.97
#48335F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#48335F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48335F
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48335F#FFFFFF#000000##FFFFFF
##48335F1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283C61
Deuteranopia (green-blind)
#2D3C5E
Tritanopia (blue-blind)
#443A44
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #48335f;
/* rgb */ color: rgb(72, 51, 95);
/* oklch */ color: oklch(36.5% 0.077 304.9);
Tailwind
colors: {
  custom: {
    50: '#7c6b8c',
    500: '#48335f',
    950: '#000000',
  },
}
SCSS
$custom: #48335f;
$custom-light: #7c6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#48335f",
  "rgb": {
    "r": 72,
    "g": 51,
    "b": 95
  },
  "hsl": {
    "h": 268.636,
    "s": 30.137,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36544,
    "c": 0.07726,
    "h": 304.9
  },
  "luminance": 0.04572
}

Semantic roles & 50–950 ramp

primary
#48335F
secondary
#78905E
accent
#C66196
background
#F7F6F8
surface
#EEEBF0
border
#C9C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #48335F

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

Preview Lab → · Contrast checker → · Palette generator →

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