#482262#482262

#482262 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.7% C 0.112 H 309.0°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#482262
RGBrgb(72, 34, 98)
HSLhsl(276, 48%, 26%)
HSVhsv(276, 65%, 38%)
CMYKcmyk(26.5%, 65.3%, 0%, 61.6%)
CIE-LABlab(21.59, 30.75, -30.87)
CIE-LCHlch(21.59, 43.57, 314.89°)
OKLaboklab(33.73% 0.0704 -0.087)
OKLCHoklch(33.73% 0.112 309)
XYZxyz(5.4487, 3.4037, 11.9229)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#482262 #3C6222
analogous
#282262 #482262 #62225C
triadic
#482262 #624822 #226248
tetradic
#482262 #622822 #3C6222 #225C62
square
#482262 #622822 #3C6222 #225C62
split-complementary
#482262 #5C6222 #226228
monochromatic
#110817 #271235 #482262 #69328F #8B42BD

Accessibility & contrast

On white

12.49
#482262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#482262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #482262
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##482262#FFFFFF#000000##FFFFFF
##4822621.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063264
Deuteranopia (green-blind)
#193461
Tritanopia (blue-blind)
#442E3E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #482262;
/* rgb */ color: rgb(72, 34, 98);
/* oklch */ color: oklch(33.7% 0.112 309.0);
Tailwind
colors: {
  custom: {
    50: '#7d5f8f',
    500: '#482262',
    950: '#000000',
  },
}
SCSS
$custom: #482262;
$custom-light: #7d5f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#482262",
  "rgb": {
    "r": 72,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 275.625,
    "s": 48.485,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3373,
    "c": 0.11195,
    "h": 309
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#482262
secondary
#69964A
accent
#D85087
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #482262

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

Preview Lab → · Contrast checker → · Palette generator →

#482262 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva