#48347F#48347F

#48347F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 38.9% C 0.122 H 292.1°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#48347F
RGBrgb(72, 52, 127)
HSLhsl(256, 42%, 35%)
HSVhsv(256, 59%, 50%)
CMYKcmyk(43.3%, 59.1%, 0%, 50.2%)
CIE-LABlab(27.75, 28.04, -39.57)
CIE-LCHlch(27.75, 48.50, 305.32°)
OKLaboklab(38.89% 0.0457 -0.1126)
OKLCHoklch(38.89% 0.122 292.1)
XYZxyz(7.7302, 5.3658, 20.7030)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48347F #6B7F34
analogous
#34467F #48347F #6D347F
triadic
#48347F #7F4834 #347F48
tetradic
#48347F #7F3446 #6B7F34 #347F6D
square
#48347F #7F3446 #6B7F34 #347F6D
split-complementary
#48347F #7F6D34 #467F34
monochromatic
#171028 #2F2254 #48347F #6146AA #826BC2

Accessibility & contrast

On white

10.13
#48347F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#48347F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48347F
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48347F#FFFFFF#000000##FFFFFF
##48347F1.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)
#084381
Deuteranopia (green-blind)
#0F407D
Tritanopia (blue-blind)
#394454
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48347f;
/* rgb */ color: rgb(72, 52, 127);
/* oklch */ color: oklch(38.9% 0.122 292.1);
Tailwind
colors: {
  custom: {
    50: '#7f6ca5',
    500: '#48347f',
    950: '#000000',
  },
}
SCSS
$custom: #48347f;
$custom-light: #7f6ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#48347f",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 256,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3889,
    "c": 0.12153,
    "h": 292.1
  },
  "luminance": 0.05366
}

Semantic roles & 50–950 ramp

primary
#48347F
secondary
#98AA64
accent
#D256B1
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #48347F

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

Preview Lab → · Contrast checker → · Palette generator →

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