#4A2FBF#4A2FBF

#4A2FBF is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.9% C 0.209 H 282.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#4A2FBF
RGBrgb(74, 47, 191)
HSLhsl(251, 61%, 47%)
HSVhsv(251, 75%, 75%)
CMYKcmyk(61.3%, 75.4%, 0%, 25.1%)
CIE-LABlab(32.37, 50.72, -70.89)
CIE-LCHlch(32.37, 87.16, 305.58°)
OKLaboklab(43.94% 0.0439 -0.2044)
OKLCHoklch(43.94% 0.209 282.1)
XYZxyz(13.2416, 7.2495, 49.9816)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FBF #A4BF2F
analogous
#2F5CBF #4A2FBF #922FBF
triadic
#4A2FBF #BF4A2F #2FBF4A
tetradic
#4A2FBF #BF2F5C #A4BF2F #2FBF92
square
#4A2FBF #BF2F5C #A4BF2F #2FBF92
split-complementary
#4A2FBF #BF922F #5CBF2F
monochromatic
#24175D #37238E #4A2FBF #6E56D5 #9887E1

Accessibility & contrast

On white

8.57
#4A2FBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#4A2FBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FBF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FBF#FFFFFF#000000##FFFFFF
##4A2FBF1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C3
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#005875
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a2fbf;
/* rgb */ color: rgb(74, 47, 191);
/* oklch */ color: oklch(43.9% 0.209 282.1);
Tailwind
colors: {
  custom: {
    50: '#8b6bd4',
    500: '#4a2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fbf;
$custom-light: #8b6bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fbf",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 251.25,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.43941,
    "c": 0.20908,
    "h": 282.1
  },
  "luminance": 0.0725
}

Semantic roles & 50–950 ramp

primary
#4A2FBF
secondary
#BDCB7F
accent
#E444C6
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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