#481B6B#481B6B

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

Color values

HEX#481B6B
RGBrgb(72, 27, 107)
HSLhsl(274, 60%, 26%)
HSVhsv(274, 75%, 42%)
CMYKcmyk(32.7%, 74.8%, 0%, 58%)
CIE-LABlab(20.92, 36.79, -37.84)
CIE-LCHlch(20.92, 52.78, 314.19°)
OKLaboklab(33.46% 0.0784 -0.1075)
OKLCHoklch(33.46% 0.133 306.1)
XYZxyz(5.7177, 3.2232, 14.2280)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B6B #3E6B1B
analogous
#201B6B #481B6B #6B1B66
triadic
#481B6B #6B481B #1B6B48
tetradic
#481B6B #6B201B #3E6B1B #1B666B
square
#481B6B #6B201B #3E6B1B #1B666B
split-complementary
#481B6B #666B1B #1B6B20
monochromatic
#100618 #270F3A #481B6B #69279C #8A35CC

Accessibility & contrast

On white

12.77
#481B6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#481B6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B6B
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B6B#FFFFFF#000000##FFFFFF
##481B6B1.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316D
Deuteranopia (green-blind)
#003269
Tritanopia (blue-blind)
#422E41
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #481b6b;
/* rgb */ color: rgb(72, 27, 107);
/* oklch */ color: oklch(33.5% 0.133 306.1);
Tailwind
colors: {
  custom: {
    50: '#7f5c96',
    500: '#481b6b',
    950: '#000000',
  },
}
SCSS
$custom: #481b6b;
$custom-light: #7f5c96;
$custom-dark: #000000;
JSON
{
  "hex": "#481b6b",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 107
  },
  "hsl": {
    "h": 273.75,
    "s": 59.701,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33458,
    "c": 0.133,
    "h": 306.1
  },
  "luminance": 0.03223
}

Semantic roles & 50–950 ramp

primary
#481B6B
secondary
#6BA042
accent
#E3458A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #481B6B

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

Preview Lab → · Contrast checker → · Palette generator →

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