#4D19CA#4D19CA

#4D19CA is a dark, highly saturated violet. Relative luminance 0.065; OKLCH L 43.2% C 0.237 H 283.6°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#4D19CA
RGBrgb(77, 25, 202)
HSLhsl(258, 78%, 45%)
HSVhsv(258, 88%, 79%)
CMYKcmyk(61.9%, 87.6%, 0%, 20.8%)
CIE-LABlab(30.73, 63.06, -80.04)
CIE-LCHlch(30.73, 101.90, 308.23°)
OKLaboklab(43.22% 0.0559 -0.2307)
OKLCHoklch(43.22% 0.237 283.6)
XYZxyz(14.0656, 6.5363, 56.3861)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D19CA #96CA19
analogous
#193ECA #4D19CA #A619CA
triadic
#4D19CA #CA4D19 #19CA4D
tetradic
#4D19CA #CA193E #96CA19 #19CAA6
square
#4D19CA #CA193E #96CA19 #19CAA6
split-complementary
#4D19CA #CAA619 #3ECA19
monochromatic
#230C5D #381294 #4D19CA #6C3AE7 #9570ED

Accessibility & contrast

On white

9.10
#4D19CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#4D19CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D19CA
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D19CA#FFFFFF#000000##FFFFFF
##4D19CA1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DCE
Deuteranopia (green-blind)
#0043C7
Tritanopia (blue-blind)
#005578
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #4d19ca;
/* rgb */ color: rgb(77, 25, 202);
/* oklch */ color: oklch(43.2% 0.237 283.6);
Tailwind
colors: {
  custom: {
    50: '#8f62dc',
    500: '#4d19ca',
    950: '#000000',
  },
}
SCSS
$custom: #4d19ca;
$custom-light: #8f62dc;
$custom-dark: #000000;
JSON
{
  "hex": "#4d19ca",
  "rgb": {
    "r": 77,
    "g": 25,
    "b": 202
  },
  "hsl": {
    "h": 257.627,
    "s": 77.974,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43217,
    "c": 0.23741,
    "h": 283.6
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#4D19CA
secondary
#B5D46B
accent
#F433BC
background
#F9F6FD
surface
#F2EBFB
border
#CCC6D4
text
#0E0615
muted
#7E7A83

Preview Lab

Preview with #4D19CA

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

Preview Lab → · Contrast checker → · Palette generator →

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