#4A2697#4A2697

#4A2697 is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.0% C 0.171 H 290.8°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#4A2697
RGBrgb(74, 38, 151)
HSLhsl(259, 60%, 37%)
HSVhsv(259, 75%, 59%)
CMYKcmyk(51%, 74.8%, 0%, 40.8%)
CIE-LABlab(26.95, 43.62, -55.76)
CIE-LCHlch(26.95, 70.79, 308.03°)
OKLaboklab(38.97% 0.0608 -0.1601)
OKLCHoklch(38.97% 0.171 290.8)
XYZxyz(9.1015, 5.0761, 29.7724)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2697 #739726
analogous
#263B97 #4A2697 #832697
triadic
#4A2697 #974A26 #26974A
tetradic
#4A2697 #97263B #739726 #269783
square
#4A2697 #97263B #739726 #269783
split-complementary
#4A2697 #978326 #3B9726
monochromatic
#1A0D35 #321A66 #4A2697 #6232C8 #8660D7

Accessibility & contrast

On white

10.42
#4A2697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#4A2697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2697
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2697#FFFFFF#000000##FFFFFF
##4A26971.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#30445C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #4a2697;
/* rgb */ color: rgb(74, 38, 151);
/* oklch */ color: oklch(39.0% 0.171 290.8);
Tailwind
colors: {
  custom: {
    50: '#8564b7',
    500: '#4a2697',
    950: '#000000',
  },
}
SCSS
$custom: #4a2697;
$custom-light: #8564b7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2697",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 151
  },
  "hsl": {
    "h": 259.115,
    "s": 59.788,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38971,
    "c": 0.17124,
    "h": 290.8
  },
  "luminance": 0.05076
}

Semantic roles & 50–950 ramp

primary
#4A2697
secondary
#9EBC5C
accent
#E345B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2697

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

Preview Lab → · Contrast checker → · Palette generator →

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