#4A1368#4A1368

#4A1368 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.140 H 310.1°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#4A1368
RGBrgb(74, 19, 104)
HSLhsl(279, 69%, 24%)
HSVhsv(279, 82%, 41%)
CMYKcmyk(28.8%, 81.7%, 0%, 59.2%)
CIE-LABlab(19.73, 40.05, -37.80)
CIE-LCHlch(19.73, 55.07, 316.65°)
OKLaboklab(32.6% 0.0902 -0.1072)
OKLCHoklch(32.6% 0.14 310.1)
XYZxyz(5.5551, 2.9212, 13.3652)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1368 #316813
analogous
#201368 #4A1368 #68135C
triadic
#4A1368 #684A13 #13684A
tetradic
#4A1368 #682013 #316813 #135C68
square
#4A1368 #682013 #316813 #135C68
split-complementary
#4A1368 #5C6813 #136820
monochromatic
#12051A #250A34 #4A1368 #6F1C9C #9426CF

Accessibility & contrast

On white

13.26
#4A1368 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4A1368 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1368
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1368#FFFFFF#000000##FFFFFF
##4A13681.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#003066
Tritanopia (blue-blind)
#46283D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1368;
/* rgb */ color: rgb(74, 19, 104);
/* oklch */ color: oklch(32.6% 0.140 310.1);
Tailwind
colors: {
  custom: {
    50: '#805894',
    500: '#4a1368',
    950: '#000000',
  },
}
SCSS
$custom: #4a1368;
$custom-light: #805894;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1368",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 104
  },
  "hsl": {
    "h": 278.824,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32604,
    "c": 0.14014,
    "h": 310.1
  },
  "luminance": 0.02921
}

Semantic roles & 50–950 ramp

primary
#4A1368
secondary
#5C9F37
accent
#EC3C7A
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A1368

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

Preview Lab → · Contrast checker → · Palette generator →

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