#4A2B8E#4A2B8E

#4A2B8E is a dark, vivid violet. Relative luminance 0.051; OKLCH L 38.8% C 0.154 H 292.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#4A2B8E
RGBrgb(74, 43, 142)
HSLhsl(259, 54%, 36%)
HSVhsv(259, 70%, 56%)
CMYKcmyk(47.9%, 69.7%, 0%, 44.3%)
CIE-LABlab(27.12, 38.34, -49.94)
CIE-LCHlch(27.12, 62.96, 307.52°)
OKLaboklab(38.85% 0.0578 -0.143)
OKLCHoklch(38.85% 0.154 292)
XYZxyz(8.5690, 5.1363, 26.1259)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2B8E #6F8E2B
analogous
#2B3E8E #4A2B8E #7C2B8E
triadic
#4A2B8E #8E4A2B #2B8E4A
tetradic
#4A2B8E #8E2B3E #6F8E2B #2B8E7C
square
#4A2B8E #8E2B3E #6F8E2B #2B8E7C
split-complementary
#4A2B8E #8E7C2B #3E8E2B
monochromatic
#190F30 #321D5F #4A2B8E #6239BD #8563D0

Accessibility & contrast

On white

10.36
#4A2B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#4A2B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2B8E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2B8E#FFFFFF#000000##FFFFFF
##4A2B8E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#003E8C
Tritanopia (blue-blind)
#354459
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2b8e;
/* rgb */ color: rgb(74, 43, 142);
/* oklch */ color: oklch(38.8% 0.154 292.0);
Tailwind
colors: {
  custom: {
    50: '#8367b0',
    500: '#4a2b8e',
    950: '#000000',
  },
}
SCSS
$custom: #4a2b8e;
$custom-light: #8367b0;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2b8e",
  "rgb": {
    "r": 74,
    "g": 43,
    "b": 142
  },
  "hsl": {
    "h": 258.788,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38847,
    "c": 0.15427,
    "h": 292
  },
  "luminance": 0.05137
}

Semantic roles & 50–950 ramp

primary
#4A2B8E
secondary
#9BB65F
accent
#DD4BAF
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #4A2B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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