#4A27CA#4A27CA

#4A27CA is a dark, highly saturated violet. Relative luminance 0.072; OKLCH L 44.2% C 0.229 H 281.4°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#4A27CA
RGBrgb(74, 39, 202)
HSLhsl(253, 68%, 47%)
HSVhsv(253, 81%, 79%)
CMYKcmyk(63.4%, 80.7%, 0%, 20.8%)
CIE-LABlab(32.19, 57.63, -77.63)
CIE-LCHlch(32.19, 96.68, 306.59°)
OKLaboklab(44.15% 0.0453 -0.224)
OKLCHoklch(44.15% 0.229 281.4)
XYZxyz(14.2069, 7.1701, 56.5010)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4A27CA #A7CA27
analogous
#2756CA #4A27CA #9B27CA
triadic
#4A27CA #CA4A27 #27CA4A
tetradic
#4A27CA #CA2756 #A7CA27 #27CA9B
square
#4A27CA #CA2756 #A7CA27 #27CA9B
split-complementary
#4A27CA #CA9B27 #56CA27
monochromatic
#241363 #371D97 #4A27CA #6F51DD #9984E7

Accessibility & contrast

On white

8.63
#4A27CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#4A27CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4A27CA
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4A27CA#FFFFFF#000000##FFFFFF
##4A27CA1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051CE
Deuteranopia (green-blind)
#0046C7
Tritanopia (blue-blind)
#00597A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #4a27ca;
/* rgb */ color: rgb(74, 39, 202);
/* oklch */ color: oklch(44.2% 0.229 281.4);
Tailwind
colors: {
  custom: {
    50: '#8d67dc',
    500: '#4a27ca',
    950: '#000000',
  },
}
SCSS
$custom: #4a27ca;
$custom-light: #8d67dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4a27ca",
  "rgb": {
    "r": 74,
    "g": 39,
    "b": 202
  },
  "hsl": {
    "h": 252.883,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44151,
    "c": 0.22854,
    "h": 281.4
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

primary
#4A27CA
secondary
#BED07C
accent
#EB3DC5
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4A27CA

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

Preview Lab → · Contrast checker → · Palette generator →

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