#6E34BA#6E34BA

#6E34BA is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.197 H 298.2°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6E34BA
RGBrgb(110, 52, 186)
HSLhsl(266, 56%, 47%)
HSVhsv(266, 72%, 73%)
CMYKcmyk(40.9%, 72%, 0%, 27.1%)
CIE-LABlab(36.59, 52.37, -60.88)
CIE-LCHlch(36.59, 80.31, 310.70°)
OKLaboklab(47.67% 0.0934 -0.174)
OKLCHoklch(47.67% 0.197 298.2)
XYZxyz(16.5191, 9.3159, 47.3727)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E34BA #80BA34
analogous
#343DBA #6E34BA #B134BA
triadic
#6E34BA #BA6E34 #34BA6E
tetradic
#6E34BA #BA343D #80BA34 #34BAB1
square
#6E34BA #BA343D #80BA34 #34BAB1
split-complementary
#6E34BA #BAB134 #3DBA34
monochromatic
#35195A #52278A #6E34BA #8E5AD1 #AF8ADE

Accessibility & contrast

On white

7.33
#6E34BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6E34BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E34BA
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E34BA#FFFFFF#000000##FFFFFF
##6E34BA1.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#5B5674
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e34ba;
/* rgb */ color: rgb(110, 52, 186);
/* oklch */ color: oklch(47.7% 0.197 298.2);
Tailwind
colors: {
  custom: {
    50: '#9e71d0',
    500: '#6e34ba',
    950: '#000000',
  },
}
SCSS
$custom: #6e34ba;
$custom-light: #9e71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e34ba",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 265.97,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47666,
    "c": 0.19748,
    "h": 298.2
  },
  "luminance": 0.09316
}

Semantic roles & 50–950 ramp

primary
#6E34BA
secondary
#AAC881
accent
#E0489E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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