#4A23AE#4A23AE

#4A23AE is a dark, highly saturated violet. Relative luminance 0.057; OKLCH L 40.9% C 0.201 H 286.3°. Best body text is #FFFFFF at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#4A23AE
RGBrgb(74, 35, 174)
HSLhsl(257, 67%, 41%)
HSVhsv(257, 80%, 68%)
CMYKcmyk(57.5%, 79.9%, 0%, 31.8%)
CIE-LABlab(28.68, 51.55, -66.87)
CIE-LCHlch(28.68, 84.43, 307.63°)
OKLaboklab(40.85% 0.0564 -0.1926)
OKLCHoklch(40.85% 0.201 286.3)
XYZxyz(11.0628, 5.7133, 40.5560)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A23AE #87AE23
analogous
#2341AE #4A23AE #8F23AE
triadic
#4A23AE #AE4A23 #23AE4A
tetradic
#4A23AE #AE2341 #87AE23 #23AE8F
square
#4A23AE #AE2341 #87AE23 #23AE8F
split-complementary
#4A23AE #AE8F23 #41AE23
monochromatic
#1F0F48 #34197B #4A23AE #6437D7 #8C6AE1

Accessibility & contrast

On white

9.80
#4A23AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#4A23AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A23AE
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A23AE#FFFFFF#000000##FFFFFF
##4A23AE1.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B2
Deuteranopia (green-blind)
#0040AC
Tritanopia (blue-blind)
#184C69
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #4a23ae;
/* rgb */ color: rgb(74, 35, 174);
/* oklch */ color: oklch(40.9% 0.201 286.3);
Tailwind
colors: {
  custom: {
    50: '#8964c7',
    500: '#4a23ae',
    950: '#000000',
  },
}
SCSS
$custom: #4a23ae;
$custom-light: #8964c7;
$custom-dark: #000000;
JSON
{
  "hex": "#4a23ae",
  "rgb": {
    "r": 74,
    "g": 35,
    "b": 174
  },
  "hsl": {
    "h": 256.835,
    "s": 66.507,
    "l": 40.98
  },
  "oklch": {
    "l": 0.40854,
    "c": 0.20069,
    "h": 286.3
  },
  "luminance": 0.05714
}

Semantic roles & 50–950 ramp

primary
#4A23AE
secondary
#ACC766
accent
#E93EB9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A23AE

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

Preview Lab → · Contrast checker → · Palette generator →

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