#6E34B6#6E34B6

#6E34B6 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.193 H 299.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6E34B6
RGBrgb(110, 52, 182)
HSLhsl(267, 56%, 46%)
HSVhsv(267, 71%, 71%)
CMYKcmyk(39.6%, 71.4%, 0%, 28.6%)
CIE-LABlab(36.27, 51.36, -59.04)
CIE-LCHlch(36.27, 78.25, 311.02°)
OKLaboklab(47.34% 0.0942 -0.1685)
OKLCHoklch(47.34% 0.193 299.2)
XYZxyz(16.0998, 9.1482, 45.1645)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E34B6 #7CB634
analogous
#343BB6 #6E34B6 #AF34B6
triadic
#6E34B6 #B66E34 #34B66E
tetradic
#6E34B6 #B6343B #7CB634 #34B6AF
square
#6E34B6 #B6343B #7CB634 #34B6AF
split-complementary
#6E34B6 #B6AF34 #3BB634
monochromatic
#341957 #512686 #6E34B6 #8D58CF #AE88DD

Accessibility & contrast

On white

7.42
#6E34B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6E34B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E34B6
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E34B6#FFFFFF#000000##FFFFFF
##6E34B61.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#5D5471
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e34b6;
/* rgb */ color: rgb(110, 52, 182);
/* oklch */ color: oklch(47.3% 0.193 299.2);
Tailwind
colors: {
  custom: {
    50: '#9e70cd',
    500: '#6e34b6',
    950: '#000000',
  },
}
SCSS
$custom: #6e34b6;
$custom-light: #9e70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6e34b6",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 266.769,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47342,
    "c": 0.19309,
    "h": 299.2
  },
  "luminance": 0.09148
}

Semantic roles & 50–950 ramp

primary
#6E34B6
secondary
#A7C77F
accent
#DF499C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E34B6

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

Preview Lab → · Contrast checker → · Palette generator →

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