#481A7F#481A7F

#481A7F is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.157 H 298.5°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#481A7F
RGBrgb(72, 26, 127)
HSLhsl(267, 66%, 30%)
HSVhsv(267, 80%, 50%)
CMYKcmyk(43.3%, 79.5%, 0%, 50.2%)
CIE-LABlab(22.47, 42.46, -48.14)
CIE-LCHlch(22.47, 64.19, 311.41°)
OKLaboklab(35.09% 0.0747 -0.1377)
OKLCHoklch(35.09% 0.157 298.5)
XYZxyz(6.8717, 3.6487, 20.4168)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481A7F #517F1A
analogous
#1A1E7F #481A7F #7B1A7F
triadic
#481A7F #7F481A #1A7F48
tetradic
#481A7F #7F1A1E #517F1A #1A7F7B
square
#481A7F #7F1A1E #517F1A #1A7F7B
split-complementary
#481A7F #7F7B1A #1E7F1A
monochromatic
#0E0519 #2B104C #481A7F #6524B2 #833CD7

Accessibility & contrast

On white

12.14
#481A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#481A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481A7F
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481A7F#FFFFFF#000000##FFFFFF
##481A7F1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003682
Deuteranopia (green-blind)
#00357D
Tritanopia (blue-blind)
#3A354C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #481a7f;
/* rgb */ color: rgb(72, 26, 127);
/* oklch */ color: oklch(35.1% 0.157 298.5);
Tailwind
colors: {
  custom: {
    50: '#815ca5',
    500: '#481a7f',
    950: '#000000',
  },
}
SCSS
$custom: #481a7f;
$custom-light: #815ca5;
$custom-dark: #000000;
JSON
{
  "hex": "#481a7f",
  "rgb": {
    "r": 72,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 267.327,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.35093,
    "c": 0.15666,
    "h": 298.5
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#481A7F
secondary
#7FB342
accent
#E93F9B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F

Preview Lab

Preview with #481A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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