#4A1985#4A1985

#4A1985 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.165 H 297.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#4A1985
RGBrgb(74, 25, 133)
HSLhsl(267, 68%, 31%)
HSVhsv(267, 81%, 52%)
CMYKcmyk(44.4%, 81.2%, 0%, 47.8%)
CIE-LABlab(23.15, 44.79, -50.81)
CIE-LCHlch(23.15, 67.73, 311.40°)
OKLaboklab(35.8% 0.0769 -0.1455)
OKLCHoklch(35.8% 0.165 297.9)
XYZxyz(7.4042, 3.8444, 22.5377)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1985 #548519
analogous
#191E85 #4A1985 #801985
triadic
#4A1985 #854A19 #19854A
tetradic
#4A1985 #85191E #548519 #198580
square
#4A1985 #85191E #548519 #198580
split-complementary
#4A1985 #858019 #1E8519
monochromatic
#11061E #2D0F51 #4A1985 #6723B9 #853EDB

Accessibility & contrast

On white

11.87
#4A1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#4A1985 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1985
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1985#FFFFFF#000000##FFFFFF
##4A19851.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003788
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#3B374F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #4a1985;
/* rgb */ color: rgb(74, 25, 133);
/* oklch */ color: oklch(35.8% 0.165 297.9);
Tailwind
colors: {
  custom: {
    50: '#835ca9',
    500: '#4a1985',
    950: '#000000',
  },
}
SCSS
$custom: #4a1985;
$custom-light: #835ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1985",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 267.222,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35795,
    "c": 0.16453,
    "h": 297.9
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#4A1985
secondary
#82B941
accent
#EB3D9C
background
#F8F5FA
surface
#F0E9F4
border
#CBC5CE
text
#0B0410
muted
#7C797F

Preview Lab

Preview with #4A1985

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

Preview Lab → · Contrast checker → · Palette generator →

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