#4A2CBF#4A2CBF

#4A2CBF is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.6% C 0.212 H 282.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#4A2CBF
RGBrgb(74, 44, 191)
HSLhsl(252, 63%, 46%)
HSVhsv(252, 77%, 75%)
CMYKcmyk(61.3%, 77%, 0%, 25.1%)
CIE-LABlab(31.85, 52.20, -71.75)
CIE-LCHlch(31.85, 88.73, 306.04°)
OKLaboklab(43.58% 0.0458 -0.2069)
OKLCHoklch(43.58% 0.212 282.5)
XYZxyz(13.1258, 7.0179, 49.9430)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2CBF #A1BF2C
analogous
#2C57BF #4A2CBF #932CBF
triadic
#4A2CBF #BF4A2C #2CBF4A
tetradic
#4A2CBF #BF2C57 #A1BF2C #2CBF93
square
#4A2CBF #BF2C57 #A1BF2C #2CBF93
split-complementary
#4A2CBF #BF932C #57BF2C
monochromatic
#23155C #37218D #4A2CBF #6D51D7 #9683E2

Accessibility & contrast

On white

8.74
#4A2CBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2CBF
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2CBF#FFFFFF#000000##FFFFFF
##4A2CBF1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C3
Deuteranopia (green-blind)
#0046BC
Tritanopia (blue-blind)
#005774
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a2cbf;
/* rgb */ color: rgb(74, 44, 191);
/* oklch */ color: oklch(43.6% 0.212 282.5);
Tailwind
colors: {
  custom: {
    50: '#8b69d4',
    500: '#4a2cbf',
    950: '#000000',
  },
}
SCSS
$custom: #4a2cbf;
$custom-light: #8b69d4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2cbf",
  "rgb": {
    "r": 74,
    "g": 44,
    "b": 191
  },
  "hsl": {
    "h": 252.245,
    "s": 62.553,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43576,
    "c": 0.21191,
    "h": 282.5
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

primary
#4A2CBF
secondary
#BBCC7B
accent
#E642C4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2CBF

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

Preview Lab → · Contrast checker → · Palette generator →

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