#4A2DAF#4A2DAF

#4A2DAF is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.192 H 284.8°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#4A2DAF
RGBrgb(74, 45, 175)
HSLhsl(253, 59%, 43%)
HSVhsv(253, 74%, 69%)
CMYKcmyk(57.7%, 74.3%, 0%, 31.4%)
CIE-LABlab(30.47, 47.00, -64.53)
CIE-LCHlch(30.47, 79.83, 306.07°)
OKLaboklab(42.14% 0.0492 -0.1858)
OKLCHoklch(42.14% 0.192 284.8)
XYZxyz(11.4979, 6.4271, 41.1838)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DAF #92AF2D
analogous
#2D51AF #4A2DAF #8B2DAF
triadic
#4A2DAF #AF4A2D #2DAF4A
tetradic
#4A2DAF #AF2D51 #92AF2D #2DAF8B
square
#4A2DAF #AF2D51 #92AF2D #2DAF8B
split-complementary
#4A2DAF #AF8B2D #51AF2D
monochromatic
#21144E #35207E #4A2DAF #6749D0 #907ADD

Accessibility & contrast

On white

9.19
#4A2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#4A2DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DAF
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DAF#FFFFFF#000000##FFFFFF
##4A2DAF1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0044AD
Tritanopia (blue-blind)
#15516C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4a2daf;
/* rgb */ color: rgb(74, 45, 175);
/* oklch */ color: oklch(42.1% 0.192 284.8);
Tailwind
colors: {
  custom: {
    50: '#8869c8',
    500: '#4a2daf',
    950: '#000000',
  },
}
SCSS
$custom: #4a2daf;
$custom-light: #8869c8;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2daf",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 253.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42135,
    "c": 0.19222,
    "h": 284.8
  },
  "luminance": 0.06428
}

Semantic roles & 50–950 ramp

primary
#4A2DAF
secondary
#B3C573
accent
#E246BF
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0D0613
muted
#7D7A82

Preview Lab

Preview with #4A2DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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