#4E34C3#4E34C3

#4E34C3 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.3% C 0.208 H 282.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#4E34C3
RGBrgb(78, 52, 195)
HSLhsl(251, 58%, 48%)
HSVhsv(251, 73%, 76%)
CMYKcmyk(60%, 73.3%, 0%, 23.5%)
CIE-LABlab(34.01, 49.84, -70.52)
CIE-LCHlch(34.01, 86.35, 305.25°)
OKLaboklab(45.3% 0.0452 -0.2033)
OKLCHoklch(45.3% 0.208 282.5)
XYZxyz(14.2171, 8.0148, 52.4170)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E34C3 #A9C334
analogous
#3461C3 #4E34C3 #9534C3
triadic
#4E34C3 #C34E34 #34C34E
tetradic
#4E34C3 #C33461 #A9C334 #34C395
square
#4E34C3 #C33461 #A9C334 #34C395
split-complementary
#4E34C3 #C39534 #61C334
monochromatic
#271A62 #3B2793 #4E34C3 #7560D5 #9F90E1

Accessibility & contrast

On white

8.07
#4E34C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#4E34C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E34C3
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E34C3#FFFFFF#000000##FFFFFF
##4E34C31.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C7
Deuteranopia (green-blind)
#004BC0
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #4e34c3;
/* rgb */ color: rgb(78, 52, 195);
/* oklch */ color: oklch(45.3% 0.208 282.5);
Tailwind
colors: {
  custom: {
    50: '#8d6fd6',
    500: '#4e34c3',
    950: '#000000',
  },
}
SCSS
$custom: #4e34c3;
$custom-light: #8d6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#4e34c3",
  "rgb": {
    "r": 78,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 250.909,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.45304,
    "c": 0.20823,
    "h": 282.5
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#4E34C3
secondary
#BFCC87
accent
#E147C5
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #4E34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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