#6E34B3#6E34B3

#6E34B3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.190 H 300.0°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#6E34B3
RGBrgb(110, 52, 179)
HSLhsl(267, 55%, 45%)
HSVhsv(267, 71%, 70%)
CMYKcmyk(38.5%, 70.9%, 0%, 29.8%)
CIE-LABlab(36.03, 50.60, -57.64)
CIE-LCHlch(36.03, 76.70, 311.28°)
OKLaboklab(47.1% 0.0948 -0.1644)
OKLCHoklch(47.1% 0.19 300)
XYZxyz(15.7931, 9.0255, 43.5491)
Luminance0.0903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E34B3 #79B334
analogous
#3439B3 #6E34B3 #AE34B3
triadic
#6E34B3 #B36E34 #34B36E
tetradic
#6E34B3 #B33439 #79B334 #34B3AE
square
#6E34B3 #B33439 #79B334 #34B3AE
split-complementary
#6E34B3 #B3AE34 #39B334
monochromatic
#341854 #512684 #6E34B3 #8D56CE #AD86DC

Accessibility & contrast

On white

7.49
#6E34B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6E34B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E34B3
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E34B3#FFFFFF#000000##FFFFFF
##6E34B31.007.492.817.49
#FFFFFF7.491.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#5E5370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6e34b3;
/* rgb */ color: rgb(110, 52, 179);
/* oklch */ color: oklch(47.1% 0.190 300.0);
Tailwind
colors: {
  custom: {
    50: '#9d70cb',
    500: '#6e34b3',
    950: '#000000',
  },
}
SCSS
$custom: #6e34b3;
$custom-light: #9d70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6e34b3",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 267.402,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47102,
    "c": 0.18979,
    "h": 300
  },
  "luminance": 0.09026
}

Semantic roles & 50–950 ramp

primary
#6E34B3
secondary
#A5C57D
accent
#DE499A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6E34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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