#48307F#48307F

#48307F is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.2% C 0.128 H 293.4°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#48307F
RGBrgb(72, 48, 127)
HSLhsl(258, 45%, 34%)
HSVhsv(258, 62%, 50%)
CMYKcmyk(43.3%, 62.2%, 0%, 50.2%)
CIE-LABlab(26.80, 30.53, -41.10)
CIE-LCHlch(26.80, 51.20, 306.60°)
OKLaboklab(38.19% 0.0508 -0.1171)
OKLCHoklch(38.19% 0.128 293.4)
XYZxyz(7.5592, 5.0237, 20.6460)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48307F #677F30
analogous
#30407F #48307F #70307F
triadic
#48307F #7F4830 #307F48
tetradic
#48307F #7F3040 #677F30 #307F70
square
#48307F #7F3040 #677F30 #307F70
split-complementary
#48307F #7F7030 #407F30
monochromatic
#160E26 #2F1F53 #48307F #6141AB #8265C5

Accessibility & contrast

On white

10.47
#48307F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#48307F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48307F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48307F#FFFFFF#000000##FFFFFF
##48307F1.0010.472.0010.47
#FFFFFF10.471.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004082
Deuteranopia (green-blind)
#033E7D
Tritanopia (blue-blind)
#394252
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #48307f;
/* rgb */ color: rgb(72, 48, 127);
/* oklch */ color: oklch(38.2% 0.128 293.4);
Tailwind
colors: {
  custom: {
    50: '#7f69a5',
    500: '#48307f',
    950: '#000000',
  },
}
SCSS
$custom: #48307f;
$custom-light: #7f69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#48307f",
  "rgb": {
    "r": 72,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 258.228,
    "s": 45.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.38193,
    "c": 0.12766,
    "h": 293.4
  },
  "luminance": 0.05024
}

Semantic roles & 50–950 ramp

primary
#48307F
secondary
#94AC5F
accent
#D553AD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #48307F

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

Preview Lab → · Contrast checker → · Palette generator →

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