#4A1765#4A1765

#4A1765 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.132 H 311.0°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#4A1765
RGBrgb(74, 23, 101)
HSLhsl(279, 63%, 24%)
HSVhsv(279, 77%, 40%)
CMYKcmyk(26.7%, 77.2%, 0%, 60.4%)
CIE-LABlab(20.08, 37.64, -35.26)
CIE-LCHlch(20.08, 51.58, 316.87°)
OKLaboklab(32.78% 0.0868 -0.0998)
OKLCHoklch(32.78% 0.132 311)
XYZxyz(5.4790, 3.0084, 12.6014)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A1765 #326517
analogous
#231765 #4A1765 #651759
triadic
#4A1765 #654A17 #17654A
tetradic
#4A1765 #652317 #326517 #175965
square
#4A1765 #652317 #326517 #175965
split-complementary
#4A1765 #596517 #176523
monochromatic
#120619 #250C33 #4A1765 #6F2297 #932EC9

Accessibility & contrast

On white

13.11
#4A1765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#4A1765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A1765
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A1765#FFFFFF#000000##FFFFFF
##4A17651.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#093163
Tritanopia (blue-blind)
#46293C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #4a1765;
/* rgb */ color: rgb(74, 23, 101);
/* oklch */ color: oklch(32.8% 0.132 311.0);
Tailwind
colors: {
  custom: {
    50: '#805a91',
    500: '#4a1765',
    950: '#000000',
  },
}
SCSS
$custom: #4a1765;
$custom-light: #805a91;
$custom-dark: #000000;
JSON
{
  "hex": "#4a1765",
  "rgb": {
    "r": 74,
    "g": 23,
    "b": 101
  },
  "hsl": {
    "h": 279.231,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32776,
    "c": 0.13225,
    "h": 311
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#4A1765
secondary
#5D9B3C
accent
#E6427B
background
#F8F5F9
surface
#EFE9F1
border
#CAC5CB
text
#0A040D
muted
#7C797E

Preview Lab

Preview with #4A1765

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

Preview Lab → · Contrast checker → · Palette generator →

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