#4A1970#4A1970

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

Color values

HEX#4A1970
RGBrgb(74, 25, 112)
HSLhsl(274, 64%, 27%)
HSVhsv(274, 78%, 44%)
CMYKcmyk(33.9%, 77.7%, 0%, 56.1%)
CIE-LABlab(21.29, 39.42, -40.47)
CIE-LCHlch(21.29, 56.50, 314.25°)
OKLaboklab(33.91% 0.0825 -0.1151)
OKLCHoklch(33.91% 0.142 305.6)
XYZxyz(6.0957, 3.3210, 15.6460)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1970 #3F7019
analogous
#1E1970 #4A1970 #70196B
triadic
#4A1970 #704A19 #19704A
tetradic
#4A1970 #701E19 #3F7019 #196B70
square
#4A1970 #701E19 #3F7019 #196B70
split-complementary
#4A1970 #6B7019 #19701E
monochromatic
#110619 #290E3E #4A1970 #6B24A2 #8C32D1

Accessibility & contrast

On white

12.62
#4A1970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#4A1970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1970
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1970#FFFFFF#000000##FFFFFF
##4A19701.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003272
Deuteranopia (green-blind)
#00336E
Tritanopia (blue-blind)
#432E43
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #4a1970;
/* rgb */ color: rgb(74, 25, 112);
/* oklch */ color: oklch(33.9% 0.142 305.6);
Tailwind
colors: {
  custom: {
    50: '#815b9a',
    500: '#4a1970',
    950: '#000000',
  },
}
SCSS
$custom: #4a1970;
$custom-light: #815b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1970",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 273.793,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.33911,
    "c": 0.14164,
    "h": 305.6
  },
  "luminance": 0.03321
}

Semantic roles & 50–950 ramp

primary
#4A1970
secondary
#6CA540
accent
#E74189
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1970

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

Preview Lab → · Contrast checker → · Palette generator →

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