#4A2FBC#4A2FBC

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

Color values

HEX#4A2FBC
RGBrgb(74, 47, 188)
HSLhsl(251, 60%, 46%)
HSVhsv(251, 75%, 74%)
CMYKcmyk(60.6%, 75%, 0%, 26.3%)
CIE-LABlab(32.08, 49.83, -69.60)
CIE-LCHlch(32.08, 85.60, 305.60°)
OKLaboklab(43.65% 0.0446 -0.2007)
OKLCHoklch(43.65% 0.206 282.5)
XYZxyz(12.9148, 7.1188, 48.2607)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2FBC #A1BC2F
analogous
#2F5BBC #4A2FBC #902FBC
triadic
#4A2FBC #BC4A2F #2FBC4A
tetradic
#4A2FBC #BC2F5B #A1BC2F #2FBC90
square
#4A2FBC #BC2F5B #A1BC2F #2FBC90
split-complementary
#4A2FBC #BC902F #5BBC2F
monochromatic
#23175A #37238B #4A2FBC #6D54D4 #9685E0

Accessibility & contrast

On white

8.66
#4A2FBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A2FBC
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2FBC#FFFFFF#000000##FFFFFF
##4A2FBC1.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#0047B9
Tritanopia (blue-blind)
#005773
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #4a2fbc;
/* rgb */ color: rgb(74, 47, 188);
/* oklch */ color: oklch(43.6% 0.206 282.5);
Tailwind
colors: {
  custom: {
    50: '#8a6bd1',
    500: '#4a2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #4a2fbc;
$custom-light: #8a6bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2fbc",
  "rgb": {
    "r": 74,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 251.489,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43647,
    "c": 0.20557,
    "h": 282.5
  },
  "luminance": 0.0712
}

Semantic roles & 50–950 ramp

primary
#4A2FBC
secondary
#BBCA7D
accent
#E345C5
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4A2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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