#481FAF#481FAF

#481FAF is a dark, highly saturated violet. Relative luminance 0.055; OKLCH L 40.4% C 0.205 H 285.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#481FAF
RGBrgb(72, 31, 175)
HSLhsl(257, 70%, 40%)
HSVhsv(257, 82%, 69%)
CMYKcmyk(58.9%, 82.3%, 0%, 31.4%)
CIE-LABlab(27.99, 53.31, -68.62)
CIE-LCHlch(27.99, 86.89, 307.85°)
OKLaboklab(40.36% 0.0554 -0.1977)
OKLCHoklch(40.36% 0.205 285.6)
XYZxyz(10.8980, 5.4522, 41.0272)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#481FAF #86AF1F
analogous
#1F3EAF #481FAF #901FAF
triadic
#481FAF #AF481F #1FAF48
tetradic
#481FAF #AF1F3E #86AF1F #1FAF90
square
#481FAF #AF1F3E #86AF1F #1FAF90
split-complementary
#481FAF #AF901F #3EAF1F
monochromatic
#1D0D47 #33167B #481FAF #6131DA #8965E4

Accessibility & contrast

On white

10.04
#481FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#481FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #481FAF
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##481FAF#FFFFFF#000000##FFFFFF
##481FAF1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B3
Deuteranopia (green-blind)
#003EAC
Tritanopia (blue-blind)
#0C4B69
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #481faf;
/* rgb */ color: rgb(72, 31, 175);
/* oklch */ color: oklch(40.4% 0.205 285.6);
Tailwind
colors: {
  custom: {
    50: '#8862c8',
    500: '#481faf',
    950: '#000000',
  },
}
SCSS
$custom: #481faf;
$custom-light: #8862c8;
$custom-dark: #000000;
JSON
{
  "hex": "#481faf",
  "rgb": {
    "r": 72,
    "g": 31,
    "b": 175
  },
  "hsl": {
    "h": 257.083,
    "s": 69.903,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40357,
    "c": 0.2053,
    "h": 285.6
  },
  "luminance": 0.05453
}

Semantic roles & 50–950 ramp

primary
#481FAF
secondary
#ABC961
accent
#ED3BBA
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0513
muted
#7E7A82

Preview Lab

Preview with #481FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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