#6E34B7#6E34B7

#6E34B7 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.194 H 299.0°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#6E34B7
RGBrgb(110, 52, 183)
HSLhsl(267, 56%, 46%)
HSVhsv(267, 72%, 72%)
CMYKcmyk(39.9%, 71.6%, 0%, 28.2%)
CIE-LABlab(36.35, 51.61, -59.50)
CIE-LCHlch(36.35, 78.77, 310.94°)
OKLaboklab(47.42% 0.094 -0.1699)
OKLCHoklch(47.42% 0.194 299)
XYZxyz(16.2035, 9.1897, 45.7107)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E34B7 #7DB734
analogous
#343BB7 #6E34B7 #AF34B7
triadic
#6E34B7 #B76E34 #34B76E
tetradic
#6E34B7 #B7343B #7DB734 #34B7AF
square
#6E34B7 #B7343B #7DB734 #34B7AF
split-complementary
#6E34B7 #B7AF34 #3BB734
monochromatic
#351958 #512687 #6E34B7 #8D59D0 #AE88DD

Accessibility & contrast

On white

7.40
#6E34B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6E34B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E34B7
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E34B7#FFFFFF#000000##FFFFFF
##6E34B71.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#5D5472
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e34b7;
/* rgb */ color: rgb(110, 52, 183);
/* oklch */ color: oklch(47.4% 0.194 299.0);
Tailwind
colors: {
  custom: {
    50: '#9e70ce',
    500: '#6e34b7',
    950: '#000000',
  },
}
SCSS
$custom: #6e34b7;
$custom-light: #9e70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6e34b7",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 266.565,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47423,
    "c": 0.19418,
    "h": 299
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#6E34B7
secondary
#A7C780
accent
#DF499D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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