#6E34B9#6E34B9

#6E34B9 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.196 H 298.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#6E34B9
RGBrgb(110, 52, 185)
HSLhsl(266, 56%, 46%)
HSVhsv(266, 72%, 73%)
CMYKcmyk(40.5%, 71.9%, 0%, 27.5%)
CIE-LABlab(36.51, 52.12, -60.42)
CIE-LCHlch(36.51, 79.79, 310.78°)
OKLaboklab(47.59% 0.0936 -0.1726)
OKLCHoklch(47.59% 0.196 298.5)
XYZxyz(16.4131, 9.2735, 46.8148)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E34B9 #7FB934
analogous
#343DB9 #6E34B9 #B134B9
triadic
#6E34B9 #B96E34 #34B96E
tetradic
#6E34B9 #B9343D #7FB934 #34B9B1
square
#6E34B9 #B9343D #7FB934 #34B9B1
split-complementary
#6E34B9 #B9B134 #3DB934
monochromatic
#351959 #522789 #6E34B9 #8E5AD1 #AE89DE

Accessibility & contrast

On white

7.36
#6E34B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6E34B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E34B9
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E34B9#FFFFFF#000000##FFFFFF
##6E34B91.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#5C5573
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e34b9;
/* rgb */ color: rgb(110, 52, 185);
/* oklch */ color: oklch(47.6% 0.196 298.5);
Tailwind
colors: {
  custom: {
    50: '#9e71cf',
    500: '#6e34b9',
    950: '#000000',
  },
}
SCSS
$custom: #6e34b9;
$custom-light: #9e71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6e34b9",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 266.165,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47585,
    "c": 0.19638,
    "h": 298.5
  },
  "luminance": 0.09274
}

Semantic roles & 50–950 ramp

primary
#6E34B9
secondary
#A9C881
accent
#DF489E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E34B9

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

Preview Lab → · Contrast checker → · Palette generator →

#6E34B9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva