#4A23A3#4A23A3

#4A23A3 is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.8% C 0.188 H 288.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#4A23A3
RGBrgb(74, 35, 163)
HSLhsl(258, 65%, 39%)
HSVhsv(258, 79%, 64%)
CMYKcmyk(54.6%, 78.5%, 0%, 36.1%)
CIE-LABlab(27.58, 48.47, -62.05)
CIE-LCHlch(27.58, 78.74, 308.00°)
OKLaboklab(39.76% 0.0598 -0.1785)
OKLCHoklch(39.76% 0.188 288.5)
XYZxyz(10.0340, 5.3018, 35.1379)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A23A3 #7CA323
analogous
#233CA3 #4A23A3 #8A23A3
triadic
#4A23A3 #A34A23 #23A34A
tetradic
#4A23A3 #A3233C #7CA323 #23A38A
square
#4A23A3 #A3233C #7CA323 #23A38A
split-complementary
#4A23A3 #A38A23 #3CA323
monochromatic
#1C0D3E #331871 #4A23A3 #6231D3 #8863DD

Accessibility & contrast

On white

10.19
#4A23A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#4A23A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A23A3
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A23A3#FFFFFF#000000##FFFFFF
##4A23A31.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A7
Deuteranopia (green-blind)
#003EA1
Tritanopia (blue-blind)
#264862
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #4a23a3;
/* rgb */ color: rgb(74, 35, 163);
/* oklch */ color: oklch(39.8% 0.188 288.5);
Tailwind
colors: {
  custom: {
    50: '#8763bf',
    500: '#4a23a3',
    950: '#000000',
  },
}
SCSS
$custom: #4a23a3;
$custom-light: #8763bf;
$custom-dark: #000000;
JSON
{
  "hex": "#4a23a3",
  "rgb": {
    "r": 74,
    "g": 35,
    "b": 163
  },
  "hsl": {
    "h": 258.281,
    "s": 64.646,
    "l": 38.824
  },
  "oklch": {
    "l": 0.39758,
    "c": 0.18826,
    "h": 288.5
  },
  "luminance": 0.05302
}

Semantic roles & 50–950 ramp

primary
#4A23A3
secondary
#A4C35F
accent
#E840B5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81

Preview Lab

Preview with #4A23A3

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

Preview Lab → · Contrast checker → · Palette generator →

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