#481B6D#481B6D

#481B6D is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.6% C 0.135 H 305.2°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#481B6D
RGBrgb(72, 27, 109)
HSLhsl(273, 60%, 27%)
HSVhsv(273, 75%, 43%)
CMYKcmyk(33.9%, 75.2%, 0%, 57.3%)
CIE-LABlab(21.08, 37.30, -38.88)
CIE-LCHlch(21.08, 53.88, 313.81°)
OKLaboklab(33.62% 0.078 -0.1105)
OKLCHoklch(33.62% 0.135 305.2)
XYZxyz(5.8241, 3.2657, 14.7886)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B6D #406D1B
analogous
#1F1B6D #481B6D #6D1B69
triadic
#481B6D #6D481B #1B6D48
tetradic
#481B6D #6D1F1B #406D1B #1B696D
square
#481B6D #6D1F1B #406D1B #1B696D
split-complementary
#481B6D #696D1B #1B6D1F
monochromatic
#100619 #280F3C #481B6D #68279E #8935CD

Accessibility & contrast

On white

12.70
#481B6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #481B6D
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B6D#FFFFFF#000000##FFFFFF
##481B6D1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316F
Deuteranopia (green-blind)
#00336B
Tritanopia (blue-blind)
#412E42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481b6d;
/* rgb */ color: rgb(72, 27, 109);
/* oklch */ color: oklch(33.6% 0.135 305.2);
Tailwind
colors: {
  custom: {
    50: '#7f5c97',
    500: '#481b6d',
    950: '#000000',
  },
}
SCSS
$custom: #481b6d;
$custom-light: #7f5c97;
$custom-dark: #000000;
JSON
{
  "hex": "#481b6d",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 109
  },
  "hsl": {
    "h": 272.927,
    "s": 60.294,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33624,
    "c": 0.13527,
    "h": 305.2
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#481B6D
secondary
#6DA242
accent
#E3448C
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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