#4C2EDF#4C2EDF

#4C2EDF is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.2% C 0.246 H 279.0°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#4C2EDF
RGBrgb(76, 46, 223)
HSLhsl(250, 73%, 53%)
HSVhsv(250, 79%, 87%)
CMYKcmyk(65.9%, 79.4%, 0%, 12.5%)
CIE-LABlab(35.63, 60.67, -84.08)
CIE-LCHlch(35.63, 103.69, 305.81°)
OKLaboklab(47.23% 0.0386 -0.2428)
OKLCHoklch(47.23% 0.246 279)
XYZxyz(17.2725, 8.8168, 70.5893)
Luminance0.0882 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4C2EDF #C1DF2E
analogous
#2E69DF #4C2EDF #A42EDF
triadic
#4C2EDF #DF4C2E #2EDF4C
tetradic
#4C2EDF #DF2E69 #C1DF2E #2EDFA4
square
#4C2EDF #DF2E69 #C1DF2E #2EDFA4
split-complementary
#4C2EDF #DFA42E #69DF2E
monochromatic
#26137F #351CB4 #4C2EDF #7963E7 #A798EF

Accessibility & contrast

On white

7.60
#4C2EDF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#4C2EDF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4C2EDF
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4C2EDF#FFFFFF#000000##FFFFFF
##4C2EDF1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AE4
Deuteranopia (green-blind)
#004DDC
Tritanopia (blue-blind)
#006487
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #4c2edf;
/* rgb */ color: rgb(76, 46, 223);
/* oklch */ color: oklch(47.2% 0.246 279.0);
Tailwind
colors: {
  custom: {
    50: '#926deb',
    500: '#4c2edf',
    950: '#000000',
  },
}
SCSS
$custom: #4c2edf;
$custom-light: #926deb;
$custom-dark: #000000;
JSON
{
  "hex": "#4c2edf",
  "rgb": {
    "r": 76,
    "g": 46,
    "b": 223
  },
  "hsl": {
    "h": 250.169,
    "s": 73.444,
    "l": 52.745
  },
  "oklch": {
    "l": 0.47226,
    "c": 0.24587,
    "h": 279
  },
  "luminance": 0.08818
}

Semantic roles & 50–950 ramp

primary
#4C2EDF
secondary
#CEDB8E
accent
#F038D1
background
#F9F6FE
surface
#F2ECFD
border
#CCC7D5
text
#0F0716
muted
#7E7A84

Preview Lab

Preview with #4C2EDF

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

Preview Lab → · Contrast checker → · Palette generator →

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