#4A2FB9#4A2FB9

#4A2FB9 is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.4% C 0.202 H 283.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#4A2FB9
RGBrgb(74, 47, 185)
HSLhsl(252, 59%, 45%)
HSVhsv(252, 75%, 73%)
CMYKcmyk(60%, 74.6%, 0%, 27.5%)
CIE-LABlab(31.79, 48.94, -68.30)
CIE-LCHlch(31.79, 84.03, 305.62°)
OKLaboklab(43.36% 0.0453 -0.1969)
OKLCHoklch(43.36% 0.202 283)
XYZxyz(12.5948, 6.9908, 46.5752)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FB9 #9EB92F
analogous
#2F59B9 #4A2FB9 #8F2FB9
triadic
#4A2FB9 #B94A2F #2FB94A
tetradic
#4A2FB9 #B92F59 #9EB92F #2FB98F
square
#4A2FB9 #B92F59 #9EB92F #2FB98F
split-complementary
#4A2FB9 #B98F2F #59B92F
monochromatic
#231657 #362388 #4A2FB9 #6B52D3 #9583DF

Accessibility & contrast

On white

8.76
#4A2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#4A2FB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FB9
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FB9#FFFFFF#000000##FFFFFF
##4A2FB91.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FBD
Deuteranopia (green-blind)
#0046B6
Tritanopia (blue-blind)
#005672
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a2fb9;
/* rgb */ color: rgb(74, 47, 185);
/* oklch */ color: oklch(43.4% 0.202 283.0);
Tailwind
colors: {
  custom: {
    50: '#8a6bcf',
    500: '#4a2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fb9;
$custom-light: #8a6bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fb9",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 251.739,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.43355,
    "c": 0.20203,
    "h": 283
  },
  "luminance": 0.06992
}

Semantic roles & 50–950 ramp

primary
#4A2FB9
secondary
#B9C97B
accent
#E345C4
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #4A2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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