#4A297D#4A297D

#4A297D is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.1% C 0.136 H 297.4°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#4A297D
RGBrgb(74, 41, 125)
HSLhsl(264, 51%, 33%)
HSVhsv(264, 67%, 49%)
CMYKcmyk(40.8%, 67.2%, 0%, 51%)
CIE-LABlab(25.33, 34.57, -42.22)
CIE-LCHlch(25.33, 54.56, 309.31°)
OKLaboklab(37.13% 0.0624 -0.1203)
OKLCHoklch(37.13% 0.136 297.4)
XYZxyz(7.3177, 4.5223, 19.8854)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A297D #5C7D29
analogous
#29327D #4A297D #74297D
triadic
#4A297D #7D4A29 #297D4A
tetradic
#4A297D #7D2932 #5C7D29 #297D74
square
#4A297D #7D2932 #5C7D29 #297D74
split-complementary
#4A297D #7D7429 #327D29
monochromatic
#130B21 #2F1A4F #4A297D #6538AB #8458C8

Accessibility & contrast

On white

11.03
#4A297D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#4A297D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A297D
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A297D#FFFFFF#000000##FFFFFF
##4A297D1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C80
Deuteranopia (green-blind)
#003B7B
Tritanopia (blue-blind)
#3E3C4F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #4a297d;
/* rgb */ color: rgb(74, 41, 125);
/* oklch */ color: oklch(37.1% 0.136 297.4);
Tailwind
colors: {
  custom: {
    50: '#8165a3',
    500: '#4a297d',
    950: '#000000',
  },
}
SCSS
$custom: #4a297d;
$custom-light: #8165a3;
$custom-dark: #000000;
JSON
{
  "hex": "#4a297d",
  "rgb": {
    "r": 74,
    "g": 41,
    "b": 125
  },
  "hsl": {
    "h": 263.571,
    "s": 50.602,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37127,
    "c": 0.13556,
    "h": 297.4
  },
  "luminance": 0.04522
}

Semantic roles & 50–950 ramp

primary
#4A297D
secondary
#8AAE54
accent
#DA4EA3
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B060F
muted
#7C7A7F

Preview Lab

Preview with #4A297D

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

Preview Lab → · Contrast checker → · Palette generator →

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