#4A1767#4A1767

#4A1767 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.134 H 310.0°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#4A1767
RGBrgb(74, 23, 103)
HSLhsl(278, 63%, 25%)
HSVhsv(278, 78%, 40%)
CMYKcmyk(28.2%, 77.7%, 0%, 59.6%)
CIE-LABlab(20.24, 38.12, -36.32)
CIE-LCHlch(20.24, 52.65, 316.39°)
OKLaboklab(32.94% 0.0864 -0.1029)
OKLCHoklch(32.94% 0.134 310)
XYZxyz(5.5781, 3.0480, 13.1238)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1767 #346717
analogous
#221767 #4A1767 #67175C
triadic
#4A1767 #674A17 #17674A
tetradic
#4A1767 #672217 #346717 #175C67
square
#4A1767 #672217 #346717 #175C67
split-complementary
#4A1767 #5C6717 #176722
monochromatic
#120619 #260C35 #4A1767 #6E2299 #922DCB

Accessibility & contrast

On white

13.05
#4A1767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#4A1767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1767
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1767#FFFFFF#000000##FFFFFF
##4A17671.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#053265
Tritanopia (blue-blind)
#46293E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a1767;
/* rgb */ color: rgb(74, 23, 103);
/* oklch */ color: oklch(32.9% 0.134 310.0);
Tailwind
colors: {
  custom: {
    50: '#805a93',
    500: '#4a1767',
    950: '#000000',
  },
}
SCSS
$custom: #4a1767;
$custom-light: #805a93;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1767",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 278.25,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.32938,
    "c": 0.13438,
    "h": 310
  },
  "luminance": 0.03048
}

Semantic roles & 50–950 ramp

primary
#4A1767
secondary
#609D3D
accent
#E7417D
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0B040D
muted
#7C797E

Preview Lab

Preview with #4A1767

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

Preview Lab → · Contrast checker → · Palette generator →

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