#6E34BB#6E34BB

#6E34BB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.199 H 298.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6E34BB
RGBrgb(110, 52, 187)
HSLhsl(266, 56%, 47%)
HSVhsv(266, 72%, 73%)
CMYKcmyk(41.2%, 72.2%, 0%, 26.7%)
CIE-LABlab(36.67, 52.62, -61.34)
CIE-LCHlch(36.67, 80.82, 310.62°)
OKLaboklab(47.75% 0.0932 -0.1753)
OKLCHoklch(47.75% 0.199 298)
XYZxyz(16.6257, 9.3586, 47.9345)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E34BB #81BB34
analogous
#343EBB #6E34BB #B234BB
triadic
#6E34BB #BB6E34 #34BB6E
tetradic
#6E34BB #BB343E #81BB34 #34BBB2
square
#6E34BB #BB343E #81BB34 #34BBB2
split-complementary
#6E34BB #BBB234 #3EBB34
monochromatic
#36195B #52278B #6E34BB #8E5BD1 #AF8BDF

Accessibility & contrast

On white

7.31
#6E34BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6E34BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E34BB
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E34BB#FFFFFF#000000##FFFFFF
##6E34BB1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6e34bb;
/* rgb */ color: rgb(110, 52, 187);
/* oklch */ color: oklch(47.7% 0.199 298.0);
Tailwind
colors: {
  custom: {
    50: '#9e71d0',
    500: '#6e34bb',
    950: '#000000',
  },
}
SCSS
$custom: #6e34bb;
$custom-light: #9e71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6e34bb",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 265.778,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47748,
    "c": 0.19856,
    "h": 298
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#6E34BB
secondary
#AAC982
accent
#E0489F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6E34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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