#482F9C#482F9C

#482F9C is a dark, vivid violet. Relative luminance 0.058; OKLCH L 40.5% C 0.167 H 286.9°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#482F9C
RGBrgb(72, 47, 156)
HSLhsl(254, 54%, 40%)
HSVhsv(254, 70%, 61%)
CMYKcmyk(53.8%, 69.9%, 0%, 38.8%)
CIE-LABlab(28.93, 39.90, -55.59)
CIE-LCHlch(28.93, 68.42, 305.67°)
OKLaboklab(40.47% 0.0486 -0.1597)
OKLCHoklch(40.47% 0.167 286.9)
XYZxyz(9.6880, 5.8106, 32.0571)
Luminance0.0581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482F9C #839C2F
analogous
#2F4D9C #482F9C #7E2F9C
triadic
#482F9C #9C482F #2F9C48
tetradic
#482F9C #9C2F4D #839C2F #2F9C7E
square
#482F9C #9C2F4D #839C2F #2F9C7E
split-complementary
#482F9C #9C7E2F #4D9C2F
monochromatic
#1D133E #32216D #482F9C #6042C6 #8871D4

Accessibility & contrast

On white

9.71
#482F9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#482F9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482F9C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482F9C#FFFFFF#000000##FFFFFF
##482F9C1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00419A
Tritanopia (blue-blind)
#264B62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #482f9c;
/* rgb */ color: rgb(72, 47, 156);
/* oklch */ color: oklch(40.5% 0.167 286.9);
Tailwind
colors: {
  custom: {
    50: '#846aba',
    500: '#482f9c',
    950: '#000000',
  },
}
SCSS
$custom: #482f9c;
$custom-light: #846aba;
$custom-dark: #000000;
JSON
{
  "hex": "#482f9c",
  "rgb": {
    "r": 72,
    "g": 47,
    "b": 156
  },
  "hsl": {
    "h": 253.761,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40466,
    "c": 0.16692,
    "h": 286.9
  },
  "luminance": 0.05811
}

Semantic roles & 50–950 ramp

primary
#482F9C
secondary
#A9BC6B
accent
#DD4BBC
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81

Preview Lab

Preview with #482F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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