#482FAB#482FAB

#482FAB is a dark, vivid violet. Relative luminance 0.064; OKLCH L 41.8% C 0.185 H 284.2°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#482FAB
RGBrgb(72, 47, 171)
HSLhsl(252, 57%, 43%)
HSVhsv(252, 73%, 67%)
CMYKcmyk(57.9%, 72.5%, 0%, 32.9%)
CIE-LABlab(30.28, 44.46, -62.44)
CIE-LCHlch(30.28, 76.65, 305.45°)
OKLaboklab(41.84% 0.0456 -0.1798)
OKLCHoklch(41.84% 0.186 284.2)
XYZxyz(11.0374, 6.3503, 39.1643)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482FAB #92AB2F
analogous
#2F54AB #482FAB #862FAB
triadic
#482FAB #AB482F #2FAB48
tetradic
#482FAB #AB2F54 #92AB2F #2FAB86
square
#482FAB #AB2F54 #92AB2F #2FAB86
split-complementary
#482FAB #AB862F #54AB2F
monochromatic
#20154B #34227B #482FAB #644ACD #8D7ADA

Accessibility & contrast

On white

9.25
#482FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#482FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482FAB
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482FAB#FFFFFF#000000##FFFFFF
##482FAB1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#13516A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #482fab;
/* rgb */ color: rgb(72, 47, 171);
/* oklch */ color: oklch(41.8% 0.185 284.2);
Tailwind
colors: {
  custom: {
    50: '#866ac5',
    500: '#482fab',
    950: '#000000',
  },
}
SCSS
$custom: #482fab;
$custom-light: #866ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#482fab",
  "rgb": {
    "r": 72,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 252.097,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.41843,
    "c": 0.1855,
    "h": 284.2
  },
  "luminance": 0.06351
}

Semantic roles & 50–950 ramp

primary
#482FAB
secondary
#B3C373
accent
#E048C1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #482FAB

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

Preview Lab → · Contrast checker → · Palette generator →

#482FAB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva