#4A1367#4A1367

#4A1367 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.139 H 310.6°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#4A1367
RGBrgb(74, 19, 103)
HSLhsl(279, 69%, 24%)
HSVhsv(279, 82%, 40%)
CMYKcmyk(28.2%, 81.6%, 0%, 59.6%)
CIE-LABlab(19.64, 39.82, -37.28)
CIE-LCHlch(19.64, 54.54, 316.88°)
OKLaboklab(32.52% 0.0905 -0.1057)
OKLCHoklch(32.52% 0.139 310.6)
XYZxyz(5.5046, 2.9010, 13.0993)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1367 #306713
analogous
#201367 #4A1367 #67135A
triadic
#4A1367 #674A13 #13674A
tetradic
#4A1367 #672013 #306713 #135A67
square
#4A1367 #672013 #306713 #135A67
split-complementary
#4A1367 #5A6713 #136720
monochromatic
#13051A #250933 #4A1367 #6F1D9B #9426CE

Accessibility & contrast

On white

13.29
#4A1367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4A1367
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1367#FFFFFF#000000##FFFFFF
##4A13671.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#003065
Tritanopia (blue-blind)
#46273D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1367;
/* rgb */ color: rgb(74, 19, 103);
/* oklch */ color: oklch(32.5% 0.139 310.6);
Tailwind
colors: {
  custom: {
    50: '#805893',
    500: '#4a1367',
    950: '#000000',
  },
}
SCSS
$custom: #4a1367;
$custom-light: #805893;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1367",
  "rgb": {
    "r": 74,
    "g": 19,
    "b": 103
  },
  "hsl": {
    "h": 279.286,
    "s": 68.852,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3252,
    "c": 0.13912,
    "h": 310.6
  },
  "luminance": 0.02901
}

Semantic roles & 50–950 ramp

primary
#4A1367
secondary
#5B9E37
accent
#EC3C79
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A1367

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

Preview Lab → · Contrast checker → · Palette generator →

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