#4A1968#4A1968

#4A1968 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.2% C 0.133 H 309.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#4A1968
RGBrgb(74, 25, 104)
HSLhsl(277, 61%, 25%)
HSVhsv(277, 76%, 41%)
CMYKcmyk(28.8%, 76%, 0%, 59.2%)
CIE-LABlab(20.64, 37.45, -36.32)
CIE-LCHlch(20.64, 52.17, 315.87°)
OKLaboklab(33.25% 0.0841 -0.1029)
OKLCHoklch(33.25% 0.133 309.2)
XYZxyz(5.6699, 3.1507, 13.4035)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1968 #376819
analogous
#221968 #4A1968 #68195E
triadic
#4A1968 #684A19 #19684A
tetradic
#4A1968 #682219 #376819 #195E68
square
#4A1968 #682219 #376819 #195E68
split-complementary
#4A1968 #5E6819 #196822
monochromatic
#120619 #270D37 #4A1968 #6D2599 #9031CB

Accessibility & contrast

On white

12.88
#4A1968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#4A1968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1968
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1968#FFFFFF#000000##FFFFFF
##4A19681.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306A
Deuteranopia (green-blind)
#063266
Tritanopia (blue-blind)
#462B3F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #4a1968;
/* rgb */ color: rgb(74, 25, 104);
/* oklch */ color: oklch(33.2% 0.133 309.2);
Tailwind
colors: {
  custom: {
    50: '#805b94',
    500: '#4a1968',
    950: '#000000',
  },
}
SCSS
$custom: #4a1968;
$custom-light: #805b94;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1968",
  "rgb": {
    "r": 74,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 277.215,
    "s": 61.24,
    "l": 25.294
  },
  "oklch": {
    "l": 0.33248,
    "c": 0.1329,
    "h": 309.2
  },
  "luminance": 0.03151
}

Semantic roles & 50–950 ramp

primary
#4A1968
secondary
#639E3F
accent
#E44381
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #4A1968

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

Preview Lab → · Contrast checker → · Palette generator →

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