#4A2DB6#4A2DB6

#4A2DB6 is a dark, highly saturated violet. Relative luminance 0.067; OKLCH L 42.8% C 0.201 H 283.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#4A2DB6
RGBrgb(74, 45, 182)
HSLhsl(253, 60%, 45%)
HSVhsv(253, 75%, 71%)
CMYKcmyk(59.3%, 75.3%, 0%, 28.6%)
CIE-LABlab(31.14, 49.07, -67.60)
CIE-LCHlch(31.14, 83.53, 305.98°)
OKLaboklab(42.81% 0.0475 -0.1948)
OKLCHoklch(42.81% 0.201 283.7)
XYZxyz(12.2033, 6.7092, 44.8989)
Luminance0.0671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DB6 #99B62D
analogous
#2D54B6 #4A2DB6 #8F2DB6
triadic
#4A2DB6 #B64A2D #2DB64A
tetradic
#4A2DB6 #B62D54 #99B62D #2DB68F
square
#4A2DB6 #B62D54 #99B62D #2DB68F
split-complementary
#4A2DB6 #B68F2D #54B62D
monochromatic
#221554 #362185 #4A2DB6 #6A4DD3 #937EDF

Accessibility & contrast

On white

8.97
#4A2DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#4A2DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DB6
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DB6#FFFFFF#000000##FFFFFF
##4A2DB61.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DBA
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#015470
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #4a2db6;
/* rgb */ color: rgb(74, 45, 182);
/* oklch */ color: oklch(42.8% 0.201 283.7);
Tailwind
colors: {
  custom: {
    50: '#896acd',
    500: '#4a2db6',
    950: '#000000',
  },
}
SCSS
$custom: #4a2db6;
$custom-light: #896acd;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2db6",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 182
  },
  "hsl": {
    "h": 252.701,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4281,
    "c": 0.2005,
    "h": 283.7
  },
  "luminance": 0.0671
}

Semantic roles & 50–950 ramp

primary
#4A2DB6
secondary
#B7C877
accent
#E344C2
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4A2DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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