#48397A#48397A

#48397A is a dark, moderate violet. Relative luminance 0.057; OKLCH L 39.5% C 0.106 H 291.4°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#48397A
RGBrgb(72, 57, 122)
HSLhsl(254, 36%, 35%)
HSVhsv(254, 53%, 48%)
CMYKcmyk(41%, 53.3%, 0%, 52.2%)
CIE-LABlab(28.67, 23.33, -34.96)
CIE-LCHlch(28.67, 42.03, 303.72°)
OKLaboklab(39.46% 0.0388 -0.0991)
OKLCHoklch(39.46% 0.106 291.4)
XYZxyz(7.6475, 5.7089, 19.1076)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48397A #6B7A39
analogous
#394B7A #48397A #68397A
triadic
#48397A #7A4839 #397A48
tetradic
#48397A #7A394B #6B7A39 #397A68
square
#48397A #7A394B #6B7A39 #397A68
split-complementary
#48397A #7A6839 #4B7A39
monochromatic
#171227 #2F2650 #48397A #614CA4 #8271BD

Accessibility & contrast

On white

9.80
#48397A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#48397A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48397A
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48397A#FFFFFF#000000##FFFFFF
##48397A1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457C
Deuteranopia (green-blind)
#204279
Tritanopia (blue-blind)
#3B4654
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #48397a;
/* rgb */ color: rgb(72, 57, 122);
/* oklch */ color: oklch(39.5% 0.106 291.4);
Tailwind
colors: {
  custom: {
    50: '#7e6fa1',
    500: '#48397a',
    950: '#000000',
  },
}
SCSS
$custom: #48397a;
$custom-light: #7e6fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#48397a",
  "rgb": {
    "r": 72,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 253.846,
    "s": 36.313,
    "l": 35.098
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.1064,
    "h": 291.4
  },
  "luminance": 0.05709
}

Semantic roles & 50–950 ramp

primary
#48397A
secondary
#98A669
accent
#CC5BB2
background
#F7F6F9
surface
#EEECF2
border
#C9C7CC
text
#0A070F
muted
#7C7A7E

Preview Lab

Preview with #48397A

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

Preview Lab → · Contrast checker → · Palette generator →

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