#4A2DBF#4A2DBF

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

Color values

HEX#4A2DBF
RGBrgb(74, 45, 191)
HSLhsl(252, 62%, 46%)
HSVhsv(252, 76%, 75%)
CMYKcmyk(61.3%, 76.4%, 0%, 25.1%)
CIE-LABlab(32.02, 51.72, -71.46)
CIE-LCHlch(32.02, 88.21, 305.89°)
OKLaboklab(43.7% 0.0451 -0.2061)
OKLCHoklch(43.7% 0.211 282.4)
XYZxyz(13.1635, 7.0933, 49.9556)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2DBF #A2BF2D
analogous
#2D59BF #4A2DBF #932DBF
triadic
#4A2DBF #BF4A2D #2DBF4A
tetradic
#4A2DBF #BF2D59 #A2BF2D #2DBF93
square
#4A2DBF #BF2D59 #A2BF2D #2DBF93
split-complementary
#4A2DBF #BF932D #59BF2D
monochromatic
#24165C #37218D #4A2DBF #6D53D6 #9784E2

Accessibility & contrast

On white

8.68
#4A2DBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#4A2DBF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2DBF
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2DBF#FFFFFF#000000##FFFFFF
##4A2DBF1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2dbf;
/* rgb */ color: rgb(74, 45, 191);
/* oklch */ color: oklch(43.7% 0.211 282.4);
Tailwind
colors: {
  custom: {
    50: '#8b6ad4',
    500: '#4a2dbf',
    950: '#000000',
  },
}
SCSS
$custom: #4a2dbf;
$custom-light: #8b6ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2dbf",
  "rgb": {
    "r": 74,
    "g": 45,
    "b": 191
  },
  "hsl": {
    "h": 251.918,
    "s": 61.864,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43695,
    "c": 0.21099,
    "h": 282.4
  },
  "luminance": 0.07094
}

Semantic roles & 50–950 ramp

primary
#4A2DBF
secondary
#BCCB7C
accent
#E543C5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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