#4A2FBD#4A2FBD

#4A2FBD is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.7% C 0.207 H 282.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4A2FBD
RGBrgb(74, 47, 189)
HSLhsl(251, 60%, 46%)
HSVhsv(251, 75%, 74%)
CMYKcmyk(60.8%, 75.1%, 0%, 25.9%)
CIE-LABlab(32.17, 50.12, -70.03)
CIE-LCHlch(32.17, 86.12, 305.59°)
OKLaboklab(43.75% 0.0444 -0.2019)
OKLCHoklch(43.75% 0.207 282.4)
XYZxyz(13.0230, 7.1621, 48.8304)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FBD #A2BD2F
analogous
#2F5BBD #4A2FBD #912FBD
triadic
#4A2FBD #BD4A2F #2FBD4A
tetradic
#4A2FBD #BD2F5B #A2BD2F #2FBD91
square
#4A2FBD #BD2F5B #A2BD2F #2FBD91
split-complementary
#4A2FBD #BD912F #5BBD2F
monochromatic
#24175B #37238C #4A2FBD #6D55D5 #9786E1

Accessibility & contrast

On white

8.63
#4A2FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4A2FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FBD
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FBD#FFFFFF#000000##FFFFFF
##4A2FBD1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0047BA
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a2fbd;
/* rgb */ color: rgb(74, 47, 189);
/* oklch */ color: oklch(43.7% 0.207 282.4);
Tailwind
colors: {
  custom: {
    50: '#8a6bd2',
    500: '#4a2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fbd;
$custom-light: #8a6bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fbd",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 251.408,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43745,
    "c": 0.20674,
    "h": 282.4
  },
  "luminance": 0.07163
}

Semantic roles & 50–950 ramp

primary
#4A2FBD
secondary
#BCCA7E
accent
#E344C5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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