#4D01DC#4D01DC

#4D01DC is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 44.2% C 0.264 H 281.7°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#4D01DC
RGBrgb(77, 1, 220)
HSLhsl(261, 99%, 43%)
HSVhsv(261, 100%, 86%)
CMYKcmyk(65%, 99.5%, 0%, 13.7%)
CIE-LABlab(31.27, 72.26, -89.59)
CIE-LCHlch(31.27, 115.10, 308.89°)
OKLaboklab(44.19% 0.0534 -0.2582)
OKLCHoklch(44.19% 0.264 281.7)
XYZxyz(15.9856, 6.7655, 68.1597)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4D01DC #90DC01
analogous
#0122DC #4D01DC #BA01DC
triadic
#4D01DC #DC4D01 #01DC4D
tetradic
#4D01DC #DC0122 #90DC01 #01DCBA
square
#4D01DC #DC0122 #90DC01 #01DCBA
split-complementary
#4D01DC #DCBA01 #22DC01
monochromatic
#220062 #38019F #4D01DC #6B1CFE #9259FE

Accessibility & contrast

On white

8.92
#4D01DC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#4D01DC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4D01DC
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4D01DC#FFFFFF#000000##FFFFFF
##4D01DC1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050E1
Deuteranopia (green-blind)
#0042D9
Tritanopia (blue-blind)
#005981
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #4d01dc;
/* rgb */ color: rgb(77, 1, 220);
/* oklch */ color: oklch(44.2% 0.264 281.7);
Tailwind
colors: {
  custom: {
    50: '#935ee9',
    500: '#4d01dc',
    950: '#000000',
  },
}
SCSS
$custom: #4d01dc;
$custom-light: #935ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#4d01dc",
  "rgb": {
    "r": 77,
    "g": 1,
    "b": 220
  },
  "hsl": {
    "h": 260.822,
    "s": 99.095,
    "l": 43.333
  },
  "oklch": {
    "l": 0.44188,
    "c": 0.26365,
    "h": 281.7
  },
  "luminance": 0.06767
}

Semantic roles & 50–950 ramp

primary
#4D01DC
secondary
#B1E158
accent
#FF29B5
background
#FAF6FE
surface
#F4EBFD
border
#CEC6D5
text
#0F0516
muted
#7F7984

Preview Lab

Preview with #4D01DC

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

Preview Lab → · Contrast checker → · Palette generator →

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