#4A2BC8#4A2BC8

#4A2BC8 is a dark, highly saturated violet. Relative luminance 0.074; OKLCH L 44.4% C 0.223 H 281.3°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#4A2BC8
RGBrgb(74, 43, 200)
HSLhsl(252, 65%, 48%)
HSVhsv(252, 79%, 78%)
CMYKcmyk(63%, 78.5%, 0%, 21.6%)
CIE-LABlab(32.60, 55.28, -75.79)
CIE-LCHlch(32.60, 93.81, 306.11°)
OKLaboklab(44.37% 0.0438 -0.2187)
OKLCHoklch(44.37% 0.223 281.3)
XYZxyz(14.1100, 7.3527, 55.3080)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2BC8 #A9C82B
analogous
#2B5BC8 #4A2BC8 #982BC8
triadic
#4A2BC8 #C84A2B #2BC84A
tetradic
#4A2BC8 #C82B5B #A9C82B #2BC898
square
#4A2BC8 #C82B5B #A9C82B #2BC898
split-complementary
#4A2BC8 #C8982B #5BC82B
monochromatic
#251563 #372096 #4A2BC8 #7056DB #9A88E5

Accessibility & contrast

On white

8.50
#4A2BC8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#4A2BC8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2BC8
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2BC8#FFFFFF#000000##FFFFFF
##4A2BC81.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CC
Deuteranopia (green-blind)
#0047C5
Tritanopia (blue-blind)
#005A79
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #4a2bc8;
/* rgb */ color: rgb(74, 43, 200);
/* oklch */ color: oklch(44.4% 0.223 281.3);
Tailwind
colors: {
  custom: {
    50: '#8d69da',
    500: '#4a2bc8',
    950: '#000000',
  },
}
SCSS
$custom: #4a2bc8;
$custom-light: #8d69da;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2bc8",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 200
  },
  "hsl": {
    "h": 251.847,
    "s": 64.609,
    "l": 47.647
  },
  "oklch": {
    "l": 0.4437,
    "c": 0.22304,
    "h": 281.3
  },
  "luminance": 0.07354
}

Semantic roles & 50–950 ramp

primary
#4A2BC8
secondary
#BFCF80
accent
#E840C7
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0715
muted
#7E7A83

Preview Lab

Preview with #4A2BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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