#481B8F#481B8F

#481B8F is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.173 H 293.4°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#481B8F
RGBrgb(72, 27, 143)
HSLhsl(263, 68%, 33%)
HSVhsv(263, 81%, 56%)
CMYKcmyk(49.7%, 81.1%, 0%, 43.9%)
CIE-LABlab(24.14, 46.28, -55.43)
CIE-LCHlch(24.14, 72.22, 309.86°)
OKLaboklab(36.72% 0.0689 -0.1591)
OKLCHoklch(36.72% 0.173 293.4)
XYZxyz(8.0210, 4.1445, 26.3586)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481B8F #628F1B
analogous
#1B288F #481B8F #821B8F
triadic
#481B8F #8F481B #1B8F48
tetradic
#481B8F #8F1B28 #628F1B #1B8F82
square
#481B8F #8F1B28 #628F1B #1B8F82
split-complementary
#481B8F #8F821B #288F1B
monochromatic
#140828 #2E115C #481B8F #6225C2 #8248DC

Accessibility & contrast

On white

11.48
#481B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#481B8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481B8F
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481B8F#FFFFFF#000000##FFFFFF
##481B8F1.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#323C55
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #481b8f;
/* rgb */ color: rgb(72, 27, 143);
/* oklch */ color: oklch(36.7% 0.173 293.4);
Tailwind
colors: {
  custom: {
    50: '#835eb1',
    500: '#481b8f',
    950: '#000000',
  },
}
SCSS
$custom: #481b8f;
$custom-light: #835eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#481b8f",
  "rgb": {
    "r": 72,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 263.276,
    "s": 68.235,
    "l": 33.333
  },
  "oklch": {
    "l": 0.36721,
    "c": 0.1734,
    "h": 293.4
  },
  "luminance": 0.04145
}

Semantic roles & 50–950 ramp

primary
#481B8F
secondary
#90BE48
accent
#EB3DA7
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #481B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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