#4A23B3#4A23B3

#4A23B3 is a dark, highly saturated violet. Relative luminance 0.059; OKLCH L 41.4% C 0.206 H 285.4°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#4A23B3
RGBrgb(74, 35, 179)
HSLhsl(256, 67%, 42%)
HSVhsv(256, 80%, 70%)
CMYKcmyk(58.7%, 80.4%, 0%, 29.8%)
CIE-LABlab(29.19, 52.94, -69.02)
CIE-LCHlch(29.19, 86.98, 307.49°)
OKLaboklab(41.36% 0.0548 -0.1988)
OKLCHoklch(41.36% 0.206 285.4)
XYZxyz(11.5593, 5.9119, 43.1711)
Luminance0.0591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A23B3 #8CB323
analogous
#2344B3 #4A23B3 #9223B3
triadic
#4A23B3 #B34A23 #23B34A
tetradic
#4A23B3 #B32344 #8CB323 #23B392
square
#4A23B3 #B32344 #8CB323 #23B392
split-complementary
#4A23B3 #B39223 #44B323
monochromatic
#200F4D #351980 #4A23B3 #653BD9 #8D6EE3

Accessibility & contrast

On white

9.62
#4A23B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#4A23B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A23B3
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A23B3#FFFFFF#000000##FFFFFF
##4A23B31.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#0D4E6C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #4a23b3;
/* rgb */ color: rgb(74, 35, 179);
/* oklch */ color: oklch(41.4% 0.206 285.4);
Tailwind
colors: {
  custom: {
    50: '#8964cb',
    500: '#4a23b3',
    950: '#000000',
  },
}
SCSS
$custom: #4a23b3;
$custom-light: #8964cb;
$custom-dark: #000000;
JSON
{
  "hex": "#4a23b3",
  "rgb": {
    "r": 74,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 256.25,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.41361,
    "c": 0.20627,
    "h": 285.4
  },
  "luminance": 0.05913
}

Semantic roles & 50–950 ramp

primary
#4A23B3
secondary
#AFC969
accent
#EA3EBB
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0613
muted
#7E7A82

Preview Lab

Preview with #4A23B3

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

Preview Lab → · Contrast checker → · Palette generator →

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