#481B6C#481B6C

#481B6C is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.134 H 305.6°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#481B6C
RGBrgb(72, 27, 108)
HSLhsl(273, 60%, 26%)
HSVhsv(273, 75%, 42%)
CMYKcmyk(33.3%, 75%, 0%, 57.6%)
CIE-LABlab(21.00, 37.05, -38.36)
CIE-LCHlch(21.00, 53.33, 314.00°)
OKLaboklab(33.54% 0.0782 -0.109)
OKLCHoklch(33.54% 0.134 305.6)
XYZxyz(5.7706, 3.2443, 14.5067)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B6C #3F6C1B
analogous
#201B6C #481B6C #6C1B68
triadic
#481B6C #6C481B #1B6C48
tetradic
#481B6C #6C201B #3F6C1B #1B686C
square
#481B6C #6C201B #3F6C1B #1B686C
split-complementary
#481B6C #686C1B #1B6C20
monochromatic
#100618 #270F3B #481B6C #69279D #8935CC

Accessibility & contrast

On white

12.74
#481B6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#481B6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B6C
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B6C#FFFFFF#000000##FFFFFF
##481B6C1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316E
Deuteranopia (green-blind)
#00336A
Tritanopia (blue-blind)
#422E41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481b6c;
/* rgb */ color: rgb(72, 27, 108);
/* oklch */ color: oklch(33.5% 0.134 305.6);
Tailwind
colors: {
  custom: {
    50: '#7f5c97',
    500: '#481b6c',
    950: '#000000',
  },
}
SCSS
$custom: #481b6c;
$custom-light: #7f5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#481b6c",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 108
  },
  "hsl": {
    "h": 273.333,
    "s": 60,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33541,
    "c": 0.13413,
    "h": 305.6
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#481B6C
secondary
#6CA142
accent
#E3458B
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #481B6C

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

Preview Lab → · Contrast checker → · Palette generator →

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