#481C8C#481C8C

#481C8C is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.5% C 0.169 H 294.1°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#481C8C
RGBrgb(72, 28, 140)
HSLhsl(264, 67%, 33%)
HSVhsv(264, 80%, 55%)
CMYKcmyk(48.6%, 80%, 0%, 45.1%)
CIE-LABlab(24.00, 45.04, -53.80)
CIE-LCHlch(24.00, 70.16, 309.93°)
OKLaboklab(36.54% 0.0691 -0.1543)
OKLCHoklch(36.54% 0.169 294.1)
XYZxyz(7.8201, 4.1014, 25.1855)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481C8C #608C1C
analogous
#1C288C #481C8C #801C8C
triadic
#481C8C #8C481C #1C8C48
tetradic
#481C8C #8C1C28 #608C1C #1C8C80
square
#481C8C #8C1C28 #608C1C #1C8C80
split-complementary
#481C8C #8C801C #288C1C
monochromatic
#140826 #2E1259 #481C8C #6226BF #8248DA

Accessibility & contrast

On white

11.54
#481C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#481C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481C8C
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481C8C#FFFFFF#000000##FFFFFF
##481C8C1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00378A
Tritanopia (blue-blind)
#333B54
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #481c8c;
/* rgb */ color: rgb(72, 28, 140);
/* oklch */ color: oklch(36.5% 0.169 294.1);
Tailwind
colors: {
  custom: {
    50: '#835eaf',
    500: '#481c8c',
    950: '#000000',
  },
}
SCSS
$custom: #481c8c;
$custom-light: #835eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#481c8c",
  "rgb": {
    "r": 72,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 263.571,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36535,
    "c": 0.16909,
    "h": 294.1
  },
  "luminance": 0.04102
}

Semantic roles & 50–950 ramp

primary
#481C8C
secondary
#8EBC48
accent
#EA3EA6
background
#F8F5FA
surface
#F0E9F5
border
#CBC5CF
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #481C8C

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

Preview Lab → · Contrast checker → · Palette generator →

#481C8C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva