#48197C#48197C

#48197C is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.154 H 299.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#48197C
RGBrgb(72, 25, 124)
HSLhsl(268, 66%, 29%)
HSVhsv(268, 80%, 49%)
CMYKcmyk(41.9%, 79.8%, 0%, 51.4%)
CIE-LABlab(22.05, 42.12, -46.94)
CIE-LCHlch(22.05, 63.06, 311.90°)
OKLaboklab(34.71% 0.0764 -0.1342)
OKLCHoklch(34.71% 0.154 299.7)
XYZxyz(6.6573, 3.5281, 19.3951)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48197C #4D7C19
analogous
#191C7C #48197C #7A197C
triadic
#48197C #7C4819 #197C48
tetradic
#48197C #7C191C #4D7C19 #197C7A
square
#48197C #7C191C #4D7C19 #197C7A
split-complementary
#48197C #7C7A19 #1C7C19
monochromatic
#0F0519 #2A0F49 #48197C #6623AF #8438D7

Accessibility & contrast

On white

12.31
#48197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#48197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48197C
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48197C#FFFFFF#000000##FFFFFF
##48197C1.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00357F
Deuteranopia (green-blind)
#00347A
Tritanopia (blue-blind)
#3C334A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #48197c;
/* rgb */ color: rgb(72, 25, 124);
/* oklch */ color: oklch(34.7% 0.154 299.7);
Tailwind
colors: {
  custom: {
    50: '#815ca3',
    500: '#48197c',
    950: '#000000',
  },
}
SCSS
$custom: #48197c;
$custom-light: #815ca3;
$custom-dark: #000000;
JSON
{
  "hex": "#48197c",
  "rgb": {
    "r": 72,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 268.485,
    "s": 66.443,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34709,
    "c": 0.15441,
    "h": 299.7
  },
  "luminance": 0.03528
}

Semantic roles & 50–950 ramp

primary
#48197C
secondary
#7BB040
accent
#E93E98
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #48197C

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

Preview Lab → · Contrast checker → · Palette generator →

#48197C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva