#4A1965#4A1965

#4A1965 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.0% C 0.130 H 310.7°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#4A1965
RGBrgb(74, 25, 101)
HSLhsl(279, 60%, 25%)
HSVhsv(279, 75%, 40%)
CMYKcmyk(26.7%, 75.2%, 0%, 60.4%)
CIE-LABlab(20.40, 36.72, -34.74)
CIE-LCHlch(20.40, 50.54, 316.59°)
OKLaboklab(33.01% 0.0845 -0.0983)
OKLCHoklch(33.01% 0.13 310.7)
XYZxyz(5.5202, 3.0908, 12.6152)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1965 #346519
analogous
#241965 #4A1965 #65195A
triadic
#4A1965 #654A19 #19654A
tetradic
#4A1965 #652419 #346519 #195A65
square
#4A1965 #652419 #346519 #195A65
split-complementary
#4A1965 #5A6519 #196524
monochromatic
#120619 #260D34 #4A1965 #6E2596 #9231C7

Accessibility & contrast

On white

12.98
#4A1965 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#4A1965 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1965
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1965#FFFFFF#000000##FFFFFF
##4A19651.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#0D3263
Tritanopia (blue-blind)
#462A3D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a1965;
/* rgb */ color: rgb(74, 25, 101);
/* oklch */ color: oklch(33.0% 0.130 310.7);
Tailwind
colors: {
  custom: {
    50: '#805b91',
    500: '#4a1965',
    950: '#000000',
  },
}
SCSS
$custom: #4a1965;
$custom-light: #805b91;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1965",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 101
  },
  "hsl": {
    "h": 278.684,
    "s": 60.317,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33008,
    "c": 0.12962,
    "h": 310.7
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#4A1965
secondary
#609B3F
accent
#E3447D
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #4A1965

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

Preview Lab → · Contrast checker → · Palette generator →

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