#481B6F#481B6F

#481B6F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.138 H 304.4°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#481B6F
RGBrgb(72, 27, 111)
HSLhsl(272, 61%, 27%)
HSVhsv(272, 76%, 44%)
CMYKcmyk(35.1%, 75.7%, 0%, 56.5%)
CIE-LABlab(21.24, 37.82, -39.91)
CIE-LCHlch(21.24, 54.98, 313.46°)
OKLaboklab(33.79% 0.0776 -0.1135)
OKLCHoklch(33.79% 0.138 304.4)
XYZxyz(5.9330, 3.3093, 15.3620)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B6F #426F1B
analogous
#1E1B6F #481B6F #6F1B6C
triadic
#481B6F #6F481B #1B6F48
tetradic
#481B6F #6F1E1B #426F1B #1B6C6F
square
#481B6F #6F1E1B #426F1B #1B6C6F
split-complementary
#481B6F #6C6F1B #1B6F1E
monochromatic
#100619 #280F3E #481B6F #6827A0 #8836CE

Accessibility & contrast

On white

12.64
#481B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#481B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B6F
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B6F#FFFFFF#000000##FFFFFF
##481B6F1.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003271
Deuteranopia (green-blind)
#00336D
Tritanopia (blue-blind)
#412F43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #481b6f;
/* rgb */ color: rgb(72, 27, 111);
/* oklch */ color: oklch(33.8% 0.138 304.4);
Tailwind
colors: {
  custom: {
    50: '#7f5c99',
    500: '#481b6f',
    950: '#000000',
  },
}
SCSS
$custom: #481b6f;
$custom-light: #7f5c99;
$custom-dark: #000000;
JSON
{
  "hex": "#481b6f",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 272.143,
    "s": 60.87,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33792,
    "c": 0.13754,
    "h": 304.4
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#481B6F
secondary
#6FA442
accent
#E4448E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #481B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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