#4A1975#4A1975

#4A1975 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.147 H 303.6°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#4A1975
RGBrgb(74, 25, 117)
HSLhsl(272, 65%, 28%)
HSVhsv(272, 79%, 46%)
CMYKcmyk(36.8%, 78.6%, 0%, 54.1%)
CIE-LABlab(21.71, 40.68, -43.00)
CIE-LCHlch(21.71, 59.19, 313.41°)
OKLaboklab(34.34% 0.0814 -0.1225)
OKLCHoklch(34.34% 0.147 303.6)
XYZxyz(6.3818, 3.4355, 17.1531)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1975 #447519
analogous
#1C1975 #4A1975 #751972
triadic
#4A1975 #754A19 #19754A
tetradic
#4A1975 #751C19 #447519 #197275
square
#4A1975 #751C19 #447519 #197275
split-complementary
#4A1975 #727519 #19751C
monochromatic
#100519 #2A0E43 #4A1975 #6A24A7 #8935D4

Accessibility & contrast

On white

12.45
#4A1975 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#4A1975 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1975
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1975#FFFFFF#000000##FFFFFF
##4A19751.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003378
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#413046
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #4a1975;
/* rgb */ color: rgb(74, 25, 117);
/* oklch */ color: oklch(34.3% 0.147 303.6);
Tailwind
colors: {
  custom: {
    50: '#815b9d',
    500: '#4a1975',
    950: '#000000',
  },
}
SCSS
$custom: #4a1975;
$custom-light: #815b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1975",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 117
  },
  "hsl": {
    "h": 271.957,
    "s": 64.789,
    "l": 27.843
  },
  "oklch": {
    "l": 0.34342,
    "c": 0.14711,
    "h": 303.6
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#4A1975
secondary
#71AA40
accent
#E8408E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0B040E
muted
#7C797E

Preview Lab

Preview with #4A1975

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

Preview Lab → · Contrast checker → · Palette generator →

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