#4A2695#4A2695

#4A2695 is a dark, vivid violet. Relative luminance 0.050; OKLCH L 38.8% C 0.169 H 291.3°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#4A2695
RGBrgb(74, 38, 149)
HSLhsl(259, 59%, 37%)
HSVhsv(259, 74%, 58%)
CMYKcmyk(50.3%, 74.5%, 0%, 41.6%)
CIE-LABlab(26.77, 43.05, -54.83)
CIE-LCHlch(26.77, 69.71, 308.14°)
OKLaboklab(38.79% 0.0612 -0.1574)
OKLCHoklch(38.79% 0.169 291.3)
XYZxyz(8.9404, 5.0117, 28.9242)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2695 #719526
analogous
#263A95 #4A2695 #822695
triadic
#4A2695 #954A26 #26954A
tetradic
#4A2695 #95263A #719526 #269582
square
#4A2695 #95263A #719526 #269582
split-complementary
#4A2695 #958226 #3A9526
monochromatic
#1A0D33 #321A64 #4A2695 #6232C6 #865FD6

Accessibility & contrast

On white

10.49
#4A2695 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#4A2695 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2695
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2695#FFFFFF#000000##FFFFFF
##4A26951.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#31445B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #4a2695;
/* rgb */ color: rgb(74, 38, 149);
/* oklch */ color: oklch(38.8% 0.169 291.3);
Tailwind
colors: {
  custom: {
    50: '#8464b5',
    500: '#4a2695',
    950: '#000000',
  },
}
SCSS
$custom: #4a2695;
$custom-light: #8464b5;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2695",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 149
  },
  "hsl": {
    "h": 259.459,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.38786,
    "c": 0.16887,
    "h": 291.3
  },
  "luminance": 0.05012
}

Semantic roles & 50–950 ramp

primary
#4A2695
secondary
#9CBB5B
accent
#E345B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80

Preview Lab

Preview with #4A2695

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

Preview Lab → · Contrast checker → · Palette generator →

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