#48298C#48298C

#48298C is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.154 H 291.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#48298C
RGBrgb(72, 41, 140)
HSLhsl(259, 55%, 35%)
HSVhsv(259, 71%, 55%)
CMYKcmyk(48.6%, 70.7%, 0%, 45.1%)
CIE-LABlab(26.32, 38.49, -50.00)
CIE-LCHlch(26.32, 63.10, 307.58°)
OKLaboklab(38.17% 0.0572 -0.1433)
OKLCHoklch(38.17% 0.154 291.8)
XYZxyz(8.1977, 4.8568, 25.3114)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#48298C #6D8C29
analogous
#293B8C #48298C #79298C
triadic
#48298C #8C4829 #298C48
tetradic
#48298C #8C293B #6D8C29 #298C79
square
#48298C #8C293B #6D8C29 #298C79
split-complementary
#48298C #8C7929 #3B8C29
monochromatic
#170D2D #301B5D #48298C #6037BB #835FD0

Accessibility & contrast

On white

10.65
#48298C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#48298C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #48298C
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##48298C#FFFFFF#000000##FFFFFF
##48298C1.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#003C8A
Tritanopia (blue-blind)
#334257
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #48298c;
/* rgb */ color: rgb(72, 41, 140);
/* oklch */ color: oklch(38.2% 0.154 291.8);
Tailwind
colors: {
  custom: {
    50: '#8265ae',
    500: '#48298c',
    950: '#000000',
  },
}
SCSS
$custom: #48298c;
$custom-light: #8265ae;
$custom-dark: #000000;
JSON
{
  "hex": "#48298c",
  "rgb": {
    "r": 72,
    "g": 41,
    "b": 140
  },
  "hsl": {
    "h": 258.788,
    "s": 54.696,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38172,
    "c": 0.1543,
    "h": 291.8
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#48298C
secondary
#99B65B
accent
#DE4AB0
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F

Preview Lab

Preview with #48298C

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

Preview Lab → · Contrast checker → · Palette generator →

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