#4E30C0#4E30C0

#4E30C0 is a dark, highly saturated violet. Relative luminance 0.075; OKLCH L 44.5% C 0.209 H 283.5°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#4E30C0
RGBrgb(78, 48, 192)
HSLhsl(253, 60%, 47%)
HSVhsv(253, 75%, 75%)
CMYKcmyk(59.4%, 75%, 0%, 24.7%)
CIE-LABlab(33.00, 51.01, -70.42)
CIE-LCHlch(33.00, 86.95, 305.92°)
OKLaboklab(44.5% 0.0487 -0.2029)
OKLCHoklch(44.5% 0.209 283.5)
XYZxyz(13.7103, 7.5385, 50.5916)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E30C0 #A2C030
analogous
#305AC0 #4E30C0 #9630C0
triadic
#4E30C0 #C04E30 #30C04E
tetradic
#4E30C0 #C0305A #A2C030 #30C096
square
#4E30C0 #C0305A #A2C030 #30C096
split-complementary
#4E30C0 #C09630 #5AC030
monochromatic
#26185E #3A248F #4E30C0 #7258D5 #9B89E1

Accessibility & contrast

On white

8.37
#4E30C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#4E30C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E30C0
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E30C0#FFFFFF#000000##FFFFFF
##4E30C01.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C4
Deuteranopia (green-blind)
#0049BD
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #4e30c0;
/* rgb */ color: rgb(78, 48, 192);
/* oklch */ color: oklch(44.5% 0.209 283.5);
Tailwind
colors: {
  custom: {
    50: '#8d6cd4',
    500: '#4e30c0',
    950: '#000000',
  },
}
SCSS
$custom: #4e30c0;
$custom-light: #8d6cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#4e30c0",
  "rgb": {
    "r": 78,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 252.5,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.44504,
    "c": 0.20871,
    "h": 283.5
  },
  "luminance": 0.07539
}

Semantic roles & 50–950 ramp

primary
#4E30C0
secondary
#BCCB80
accent
#E345C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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