#4A2691#4A2691

#4A2691 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.4% C 0.164 H 292.3°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#4A2691
RGBrgb(74, 38, 145)
HSLhsl(260, 58%, 36%)
HSVhsv(260, 74%, 57%)
CMYKcmyk(49%, 73.8%, 0%, 43.1%)
CIE-LABlab(26.41, 41.91, -52.95)
CIE-LCHlch(26.41, 67.53, 308.36°)
OKLaboklab(38.42% 0.0622 -0.1519)
OKLCHoklch(38.42% 0.164 292.3)
XYZxyz(8.6266, 4.8861, 27.2712)
Luminance0.0489 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2691 #6D9126
analogous
#263791 #4A2691 #7F2691
triadic
#4A2691 #914A26 #26914A
tetradic
#4A2691 #912637 #6D9126 #26917F
square
#4A2691 #912637 #6D9126 #26917F
split-complementary
#4A2691 #917F26 #379126
monochromatic
#190D30 #311961 #4A2691 #6333C1 #855DD5

Accessibility & contrast

On white

10.62
#4A2691 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#4A2691 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2691
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2691#FFFFFF#000000##FFFFFF
##4A26911.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#344259
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #4a2691;
/* rgb */ color: rgb(74, 38, 145);
/* oklch */ color: oklch(38.4% 0.164 292.3);
Tailwind
colors: {
  custom: {
    50: '#8464b2',
    500: '#4a2691',
    950: '#000000',
  },
}
SCSS
$custom: #4a2691;
$custom-light: #8464b2;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2691",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 145
  },
  "hsl": {
    "h": 260.187,
    "s": 58.47,
    "l": 35.882
  },
  "oklch": {
    "l": 0.38421,
    "c": 0.1641,
    "h": 292.3
  },
  "luminance": 0.04886
}

Semantic roles & 50–950 ramp

primary
#4A2691
secondary
#99BA59
accent
#E246AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80

Preview Lab

Preview with #4A2691

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

Preview Lab → · Contrast checker → · Palette generator →

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