#4A1673#4A1673

#4A1673 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.9% C 0.148 H 304.8°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#4A1673
RGBrgb(74, 22, 115)
HSLhsl(274, 68%, 27%)
HSVhsv(274, 81%, 45%)
CMYKcmyk(35.7%, 80.9%, 0%, 54.9%)
CIE-LABlab(21.08, 41.48, -42.73)
CIE-LCHlch(21.08, 59.55, 314.15°)
OKLaboklab(33.85% 0.0847 -0.1217)
OKLCHoklch(33.85% 0.148 304.8)
XYZxyz(6.2048, 3.2675, 16.5201)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1673 #3F7316
analogous
#1B1673 #4A1673 #73166E
triadic
#4A1673 #734A16 #16734A
tetradic
#4A1673 #731B16 #3F7316 #166E73
square
#4A1673 #731B16 #3F7316 #166E73
split-complementary
#4A1673 #6E7316 #16731B
monochromatic
#11051A #290C40 #4A1673 #6B20A6 #8C2DD7

Accessibility & contrast

On white

12.70
#4A1673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#4A1673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1673
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1673#FFFFFF#000000##FFFFFF
##4A16731.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#422E44
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4a1673;
/* rgb */ color: rgb(74, 22, 115);
/* oklch */ color: oklch(33.9% 0.148 304.8);
Tailwind
colors: {
  custom: {
    50: '#815a9c',
    500: '#4a1673',
    950: '#000000',
  },
}
SCSS
$custom: #4a1673;
$custom-light: #815a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1673",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 273.548,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3385,
    "c": 0.14832,
    "h": 304.8
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#4A1673
secondary
#6CA93C
accent
#EB3D8A
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1673

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

Preview Lab → · Contrast checker → · Palette generator →

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