#482F98#482F98

#482F98 is a dark, vivid violet. Relative luminance 0.057; OKLCH L 40.1% C 0.162 H 287.7°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#482F98
RGBrgb(72, 47, 152)
HSLhsl(254, 53%, 39%)
HSVhsv(254, 69%, 60%)
CMYKcmyk(52.6%, 69.1%, 0%, 40.4%)
CIE-LABlab(28.58, 38.68, -53.71)
CIE-LCHlch(28.58, 66.19, 305.76°)
OKLaboklab(40.11% 0.0492 -0.1542)
OKLCHoklch(40.11% 0.162 287.7)
XYZxyz(9.3548, 5.6773, 30.3026)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482F98 #7F982F
analogous
#2F4B98 #482F98 #7D2F98
triadic
#482F98 #98482F #2F9848
tetradic
#482F98 #982F4B #7F982F #2F987D
square
#482F98 #982F4B #7F982F #2F987D
split-complementary
#482F98 #987D2F #4B982F
monochromatic
#1C123B #322169 #482F98 #6040C4 #876FD2

Accessibility & contrast

On white

9.83
#482F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#482F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482F98
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482F98#FFFFFF#000000##FFFFFF
##482F981.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469B
Deuteranopia (green-blind)
#004196
Tritanopia (blue-blind)
#2A4A5F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #482f98;
/* rgb */ color: rgb(72, 47, 152);
/* oklch */ color: oklch(40.1% 0.162 287.7);
Tailwind
colors: {
  custom: {
    50: '#8369b7',
    500: '#482f98',
    950: '#000000',
  },
}
SCSS
$custom: #482f98;
$custom-light: #8369b7;
$custom-dark: #000000;
JSON
{
  "hex": "#482f98",
  "rgb": {
    "r": 72,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 254.286,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.40111,
    "c": 0.16186,
    "h": 287.7
  },
  "luminance": 0.05678
}

Semantic roles & 50–950 ramp

primary
#482F98
secondary
#A7BA69
accent
#DC4CBA
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #482F98

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

Preview Lab → · Contrast checker → · Palette generator →

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