#4E06C2#4E06C2

#4E06C2 is a dark, highly saturated violet. Relative luminance 0.056; OKLCH L 41.5% C 0.237 H 286.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#4E06C2
RGBrgb(78, 6, 194)
HSLhsl(263, 94%, 39%)
HSVhsv(263, 97%, 76%)
CMYKcmyk(59.8%, 96.9%, 0%, 23.9%)
CIE-LABlab(28.50, 65.43, -79.05)
CIE-LCHlch(28.50, 102.62, 309.62°)
OKLaboklab(41.48% 0.066 -0.2276)
OKLCHoklch(41.48% 0.237 286.2)
XYZxyz(12.9417, 5.6442, 51.4360)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E06C2 #7AC206
analogous
#061CC2 #4E06C2 #AC06C2
triadic
#4E06C2 #C24E06 #06C24E
tetradic
#4E06C2 #C2061C #7AC206 #06C2AC
square
#4E06C2 #C2061C #7AC206 #06C2AC
split-complementary
#4E06C2 #C2AC06 #1CC206
monochromatic
#1E024B #360487 #4E06C2 #670EF8 #8D49F9

Accessibility & contrast

On white

9.86
#4E06C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#4E06C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E06C2
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E06C2#FFFFFF#000000##FFFFFF
##4E06C21.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047C6
Deuteranopia (green-blind)
#003EBF
Tritanopia (blue-blind)
#004E71
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #4e06c2;
/* rgb */ color: rgb(78, 6, 194);
/* oklch */ color: oklch(41.5% 0.237 286.2);
Tailwind
colors: {
  custom: {
    50: '#8f5cd6',
    500: '#4e06c2',
    950: '#000000',
  },
}
SCSS
$custom: #4e06c2;
$custom-light: #8f5cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e06c2",
  "rgb": {
    "r": 78,
    "g": 6,
    "b": 194
  },
  "hsl": {
    "h": 262.979,
    "s": 94,
    "l": 39.216
  },
  "oklch": {
    "l": 0.41475,
    "c": 0.23696,
    "h": 286.2
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#4E06C2
secondary
#A3DA4A
accent
#FF29AD
background
#F9F5FD
surface
#F2EAFA
border
#CCC6D3
text
#0E0515
muted
#7E7983

Preview Lab

Preview with #4E06C2

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

Preview Lab → · Contrast checker → · Palette generator →

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