#48368F#48368F

#48368F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.5% C 0.141 H 287.7°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#48368F
RGBrgb(72, 54, 143)
HSLhsl(252, 45%, 39%)
HSVhsv(252, 62%, 56%)
CMYKcmyk(49.7%, 62.2%, 0%, 43.9%)
CIE-LABlab(29.41, 31.73, -46.84)
CIE-LCHlch(29.41, 56.57, 304.11°)
OKLaboklab(40.48% 0.0428 -0.134)
OKLCHoklch(40.48% 0.141 287.7)
XYZxyz(8.9481, 5.9988, 26.6677)
Luminance0.0600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48368F #7D8F36
analogous
#36508F #48368F #74368F
triadic
#48368F #8F4836 #368F48
tetradic
#48368F #8F3650 #7D8F36 #368F74
square
#48368F #8F3650 #7D8F36 #368F74
split-complementary
#48368F #8F7436 #508F36
monochromatic
#1B1436 #322563 #48368F #5F48BA #8675CB

Accessibility & contrast

On white

9.55
#48368F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#48368F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48368F
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48368F#FFFFFF#000000##FFFFFF
##48368F1.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#00438D
Tritanopia (blue-blind)
#304B5D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #48368f;
/* rgb */ color: rgb(72, 54, 143);
/* oklch */ color: oklch(40.5% 0.141 287.7);
Tailwind
colors: {
  custom: {
    50: '#816eb0',
    500: '#48368f',
    950: '#000000',
  },
}
SCSS
$custom: #48368f;
$custom-light: #816eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#48368f",
  "rgb": {
    "r": 72,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 252.135,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.40481,
    "c": 0.14067,
    "h": 287.7
  },
  "luminance": 0.05999
}

Semantic roles & 50–950 ramp

primary
#48368F
secondary
#A5B36D
accent
#D553BB
background
#F8F6FA
surface
#EFECF5
border
#CAC7CF
text
#0B0711
muted
#7C7A80

Preview Lab

Preview with #48368F

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

Preview Lab → · Contrast checker → · Palette generator →

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