#4A1670#4A1670

#4A1670 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.6% C 0.145 H 306.1°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#4A1670
RGBrgb(74, 22, 112)
HSLhsl(275, 67%, 26%)
HSVhsv(275, 80%, 44%)
CMYKcmyk(33.9%, 80.4%, 0%, 56.1%)
CIE-LABlab(20.83, 40.74, -41.22)
CIE-LCHlch(20.83, 57.95, 314.67°)
OKLaboklab(33.59% 0.0855 -0.1173)
OKLCHoklch(33.59% 0.145 306.1)
XYZxyz(6.0349, 3.1996, 15.6257)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1670 #3C7016
analogous
#1D1670 #4A1670 #701669
triadic
#4A1670 #704A16 #16704A
tetradic
#4A1670 #701D16 #3C7016 #166970
square
#4A1670 #701D16 #3C7016 #166970
split-complementary
#4A1670 #697016 #16701D
monochromatic
#11051A #280C3D #4A1670 #6C20A3 #8D2BD5

Accessibility & contrast

On white

12.80
#4A1670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#4A1670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1670
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1670#FFFFFF#000000##FFFFFF
##4A16701.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#00326E
Tritanopia (blue-blind)
#432D42
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a1670;
/* rgb */ color: rgb(74, 22, 112);
/* oklch */ color: oklch(33.6% 0.145 306.1);
Tailwind
colors: {
  custom: {
    50: '#815a9a',
    500: '#4a1670',
    950: '#000000',
  },
}
SCSS
$custom: #4a1670;
$custom-light: #815a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1670",
  "rgb": {
    "r": 74,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 274.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33588,
    "c": 0.14513,
    "h": 306.1
  },
  "luminance": 0.032
}

Semantic roles & 50–950 ramp

primary
#4A1670
secondary
#69A63C
accent
#EA3E86
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1670

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

Preview Lab → · Contrast checker → · Palette generator →

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