#4A2FBE#4A2FBE

#4A2FBE is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 43.8% C 0.208 H 282.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#4A2FBE
RGBrgb(74, 47, 190)
HSLhsl(251, 60%, 46%)
HSVhsv(251, 75%, 75%)
CMYKcmyk(61.1%, 75.3%, 0%, 25.5%)
CIE-LABlab(32.27, 50.42, -70.46)
CIE-LCHlch(32.27, 86.64, 305.59°)
OKLaboklab(43.84% 0.0441 -0.2032)
OKLCHoklch(43.84% 0.208 282.2)
XYZxyz(13.1319, 7.2057, 49.4040)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FBE #A3BE2F
analogous
#2F5BBE #4A2FBE #922FBE
triadic
#4A2FBE #BE4A2F #2FBE4A
tetradic
#4A2FBE #BE2F5B #A3BE2F #2FBE92
square
#4A2FBE #BE2F5B #A3BE2F #2FBE92
split-complementary
#4A2FBE #BE922F #5BBE2F
monochromatic
#24175C #37238D #4A2FBE #6D55D5 #9786E1

Accessibility & contrast

On white

8.60
#4A2FBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#4A2FBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2FBE
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FBE#FFFFFF#000000##FFFFFF
##4A2FBE1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #4a2fbe;
/* rgb */ color: rgb(74, 47, 190);
/* oklch */ color: oklch(43.8% 0.208 282.2);
Tailwind
colors: {
  custom: {
    50: '#8a6bd3',
    500: '#4a2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fbe;
$custom-light: #8a6bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fbe",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 251.329,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43843,
    "c": 0.20791,
    "h": 282.2
  },
  "luminance": 0.07207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #4A2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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