#4A1867#4A1867

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

Color values

HEX#4A1867
RGBrgb(74, 24, 103)
HSLhsl(278, 62%, 25%)
HSVhsv(278, 77%, 40%)
CMYKcmyk(28.2%, 76.7%, 0%, 59.6%)
CIE-LABlab(20.39, 37.67, -36.06)
CIE-LCHlch(20.39, 52.15, 316.25°)
OKLaboklab(33.05% 0.0854 -0.1021)
OKLCHoklch(33.05% 0.133 309.9)
XYZxyz(5.5984, 3.0885, 13.1306)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1867 #356718
analogous
#231867 #4A1867 #67185C
triadic
#4A1867 #674A18 #18674A
tetradic
#4A1867 #672318 #356718 #185C67
square
#4A1867 #672318 #356718 #185C67
split-complementary
#4A1867 #5C6718 #186723
monochromatic
#120619 #260C35 #4A1867 #6E2499 #912FCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A1867#FFFFFF#000000##FFFFFF
##4A18671.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)
#002F69
Deuteranopia (green-blind)
#073265
Tritanopia (blue-blind)
#462A3E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a1867;
/* rgb */ color: rgb(74, 24, 103);
/* oklch */ color: oklch(33.1% 0.133 309.9);
Tailwind
colors: {
  custom: {
    50: '#805a93',
    500: '#4a1867',
    950: '#000000',
  },
}
SCSS
$custom: #4a1867;
$custom-light: #805a93;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1867",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 103
  },
  "hsl": {
    "h": 277.975,
    "s": 62.205,
    "l": 24.902
  },
  "oklch": {
    "l": 0.33051,
    "c": 0.13311,
    "h": 309.9
  },
  "luminance": 0.03088
}

Semantic roles & 50–950 ramp

primary
#4A1867
secondary
#619D3E
accent
#E5437E
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #4A1867

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

Preview Lab → · Contrast checker → · Palette generator →

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