#48367F#48367F

#48367F is a dark, moderate violet. Relative luminance 0.055; OKLCH L 39.3% C 0.118 H 291.3°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#48367F
RGBrgb(72, 54, 127)
HSLhsl(255, 40%, 35%)
HSVhsv(255, 57%, 50%)
CMYKcmyk(43.3%, 57.5%, 0%, 50.2%)
CIE-LABlab(28.24, 26.78, -38.78)
CIE-LCHlch(28.24, 47.13, 304.63°)
OKLaboklab(39.25% 0.0431 -0.1103)
OKLCHoklch(39.25% 0.118 291.3)
XYZxyz(7.8214, 5.5481, 20.7334)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48367F #6D7F36
analogous
#36487F #48367F #6C367F
triadic
#48367F #7F4836 #367F48
tetradic
#48367F #7F3648 #6D7F36 #367F6C
square
#48367F #7F3648 #6D7F36 #367F6C
split-complementary
#48367F #7F6C36 #487F36
monochromatic
#171129 #302454 #48367F #6048AA #836EC1

Accessibility & contrast

On white

9.95
#48367F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#48367F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48367F
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48367F#FFFFFF#000000##FFFFFF
##48367F1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104481
Deuteranopia (green-blind)
#14417D
Tritanopia (blue-blind)
#394655
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #48367f;
/* rgb */ color: rgb(72, 54, 127);
/* oklch */ color: oklch(39.3% 0.118 291.3);
Tailwind
colors: {
  custom: {
    50: '#7f6da5',
    500: '#48367f',
    950: '#000000',
  },
}
SCSS
$custom: #48367f;
$custom-light: #7f6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#48367f",
  "rgb": {
    "r": 72,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 254.795,
    "s": 40.331,
    "l": 35.49
  },
  "oklch": {
    "l": 0.39252,
    "c": 0.11841,
    "h": 291.3
  },
  "luminance": 0.05548
}

Semantic roles & 50–950 ramp

primary
#48367F
secondary
#99AA67
accent
#D058B2
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A070F
muted
#7C7A7F

Preview Lab

Preview with #48367F

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

Preview Lab → · Contrast checker → · Palette generator →

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