#4A2673#4A2673

#4A2673 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 35.9% C 0.127 H 301.8°. Best body text is #FFFFFF at 11.56:1 contrast (WCAG AA passes).

Color values

HEX#4A2673
RGBrgb(74, 38, 115)
HSLhsl(268, 50%, 30%)
HSVhsv(268, 67%, 45%)
CMYKcmyk(35.7%, 67%, 0%, 54.9%)
CIE-LABlab(23.93, 33.50, -38.11)
CIE-LCHlch(23.93, 50.74, 311.31°)
OKLaboklab(35.88% 0.0671 -0.1082)
OKLCHoklch(35.88% 0.127 301.8)
XYZxyz(6.6109, 4.0799, 16.6555)
Luminance0.0408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A2673 #4F7326
analogous
#262873 #4A2673 #712673
triadic
#4A2673 #734A26 #26734A
tetradic
#4A2673 #732628 #4F7326 #267371
square
#4A2673 #732628 #4F7326 #267371
split-complementary
#4A2673 #737126 #287326
monochromatic
#0F0817 #2C1745 #4A2673 #6835A1 #864FC5

Accessibility & contrast

On white

11.56
#4A2673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#4A2673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A2673
11.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A2673#FFFFFF#000000##FFFFFF
##4A26731.0011.561.8211.56
#FFFFFF11.561.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#093971
Tritanopia (blue-blind)
#423749
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #4a2673;
/* rgb */ color: rgb(74, 38, 115);
/* oklch */ color: oklch(35.9% 0.127 301.8);
Tailwind
colors: {
  custom: {
    50: '#80639c',
    500: '#4a2673',
    950: '#000000',
  },
}
SCSS
$custom: #4a2673;
$custom-light: #80639c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a2673",
  "rgb": {
    "r": 74,
    "g": 38,
    "b": 115
  },
  "hsl": {
    "h": 268.052,
    "s": 50.327,
    "l": 30
  },
  "oklch": {
    "l": 0.35878,
    "c": 0.12736,
    "h": 301.8
  },
  "luminance": 0.0408
}

Semantic roles & 50–950 ramp

primary
#4A2673
secondary
#7DA64F
accent
#DA4E98
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #4A2673

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

Preview Lab → · Contrast checker → · Palette generator →

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