#48347A#48347A

#48347A is a dark, moderate violet. Relative luminance 0.052; OKLCH L 38.5% C 0.114 H 293.5°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#48347A
RGBrgb(72, 52, 122)
HSLhsl(257, 40%, 34%)
HSVhsv(257, 57%, 48%)
CMYKcmyk(41%, 57.4%, 0%, 52.2%)
CIE-LABlab(27.40, 26.53, -36.98)
CIE-LCHlch(27.40, 45.52, 305.66°)
OKLaboklab(38.52% 0.0456 -0.105)
OKLCHoklch(38.52% 0.114 293.5)
XYZxyz(7.4124, 5.2387, 19.0292)
Luminance0.0524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48347A #667A34
analogous
#34437A #48347A #6B347A
triadic
#48347A #7A4834 #347A48
tetradic
#48347A #7A3443 #667A34 #347A6B
square
#48347A #7A3443 #667A34 #347A6B
split-complementary
#48347A #7A6B34 #437A34
monochromatic
#150F24 #2F224F #48347A #6146A5 #8269BF

Accessibility & contrast

On white

10.25
#48347A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#48347A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48347A
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48347A#FFFFFF#000000##FFFFFF
##48347A1.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427C
Deuteranopia (green-blind)
#183F78
Tritanopia (blue-blind)
#3B4351
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #48347a;
/* rgb */ color: rgb(72, 52, 122);
/* oklch */ color: oklch(38.5% 0.114 293.5);
Tailwind
colors: {
  custom: {
    50: '#7e6ca1',
    500: '#48347a',
    950: '#000000',
  },
}
SCSS
$custom: #48347a;
$custom-light: #7e6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#48347a",
  "rgb": {
    "r": 72,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 257.143,
    "s": 40.23,
    "l": 34.118
  },
  "oklch": {
    "l": 0.38521,
    "c": 0.11449,
    "h": 293.5
  },
  "luminance": 0.05239
}

Semantic roles & 50–950 ramp

primary
#48347A
secondary
#94A763
accent
#D058AE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A070F
muted
#7C7A7E

Preview Lab

Preview with #48347A

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

Preview Lab → · Contrast checker → · Palette generator →

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