#4A1865#4A1865

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

Color values

HEX#4A1865
RGBrgb(74, 24, 101)
HSLhsl(279, 62%, 25%)
HSVhsv(279, 76%, 40%)
CMYKcmyk(26.7%, 76.2%, 0%, 60.4%)
CIE-LABlab(20.24, 37.19, -35.00)
CIE-LCHlch(20.24, 51.07, 316.73°)
OKLaboklab(32.89% 0.0857 -0.099)
OKLCHoklch(32.89% 0.131 310.9)
XYZxyz(5.4992, 3.0488, 12.6082)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1865 #336518
analogous
#241865 #4A1865 #65185A
triadic
#4A1865 #654A18 #18654A
tetradic
#4A1865 #652418 #336518 #185A65
square
#4A1865 #652418 #336518 #185A65
split-complementary
#4A1865 #5A6518 #186524
monochromatic
#120619 #260C34 #4A1865 #6E2496 #9230C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##4A1865#FFFFFF#000000##FFFFFF
##4A18651.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)
#002F67
Deuteranopia (green-blind)
#0B3263
Tritanopia (blue-blind)
#46293D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #4a1865;
/* rgb */ color: rgb(74, 24, 101);
/* oklch */ color: oklch(32.9% 0.131 310.9);
Tailwind
colors: {
  custom: {
    50: '#805a91',
    500: '#4a1865',
    950: '#000000',
  },
}
SCSS
$custom: #4a1865;
$custom-light: #805a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1865",
  "rgb": {
    "r": 74,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 278.961,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3289,
    "c": 0.13094,
    "h": 310.9
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#4A1865
secondary
#5E9B3E
accent
#E5437C
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #4A1865

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

Preview Lab → · Contrast checker → · Palette generator →

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