#4A208F#4A208F

#4A208F is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.168 H 293.8°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#4A208F
RGBrgb(74, 32, 143)
HSLhsl(263, 63%, 34%)
HSVhsv(263, 78%, 56%)
CMYKcmyk(48.3%, 77.6%, 0%, 43.9%)
CIE-LABlab(25.17, 44.33, -53.74)
CIE-LCHlch(25.17, 69.66, 309.52°)
OKLaboklab(37.49% 0.0681 -0.1541)
OKLCHoklch(37.49% 0.168 293.8)
XYZxyz(8.2971, 4.4718, 26.4073)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A208F #658F20
analogous
#202D8F #4A208F #82208F
triadic
#4A208F #8F4A20 #208F4A
tetradic
#4A208F #8F202D #658F20 #208F82
square
#4A208F #8F202D #658F20 #208F82
split-complementary
#4A208F #8F8220 #2D8F20
monochromatic
#160A2B #30155D #4A208F #642BC1 #8451D8

Accessibility & contrast

On white

11.09
#4A208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#4A208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A208F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A208F#FFFFFF#000000##FFFFFF
##4A208F1.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#353E56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a208f;
/* rgb */ color: rgb(74, 32, 143);
/* oklch */ color: oklch(37.5% 0.168 293.8);
Tailwind
colors: {
  custom: {
    50: '#8460b1',
    500: '#4a208f',
    950: '#000000',
  },
}
SCSS
$custom: #4a208f;
$custom-light: #8460b1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a208f",
  "rgb": {
    "r": 74,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 262.703,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.37495,
    "c": 0.16847,
    "h": 293.8
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#4A208F
secondary
#93BB4F
accent
#E641A8
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980

Preview Lab

Preview with #4A208F

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

Preview Lab → · Contrast checker → · Palette generator →

#4A208F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva