#6E34BC#6E34BC

#6E34BC is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.200 H 297.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#6E34BC
RGBrgb(110, 52, 188)
HSLhsl(266, 57%, 47%)
HSVhsv(266, 72%, 74%)
CMYKcmyk(41.5%, 72.3%, 0%, 26.3%)
CIE-LABlab(36.75, 52.88, -61.80)
CIE-LCHlch(36.75, 81.33, 310.55°)
OKLaboklab(47.83% 0.093 -0.1767)
OKLCHoklch(47.83% 0.2 297.8)
XYZxyz(16.7332, 9.4015, 48.5003)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E34BC #82BC34
analogous
#343EBC #6E34BC #B234BC
triadic
#6E34BC #BC6E34 #34BC6E
tetradic
#6E34BC #BC343E #82BC34 #34BCB2
square
#6E34BC #BC343E #82BC34 #34BCB2
split-complementary
#6E34BC #BCB234 #3EBC34
monochromatic
#36195C #52278C #6E34BC #8E5BD2 #AF8BDF

Accessibility & contrast

On white

7.29
#6E34BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6E34BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E34BC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E34BC#FFFFFF#000000##FFFFFF
##6E34BC1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#5A5675
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6e34bc;
/* rgb */ color: rgb(110, 52, 188);
/* oklch */ color: oklch(47.8% 0.200 297.8);
Tailwind
colors: {
  custom: {
    50: '#9e71d1',
    500: '#6e34bc',
    950: '#000000',
  },
}
SCSS
$custom: #6e34bc;
$custom-light: #9e71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6e34bc",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 265.588,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4783,
    "c": 0.19966,
    "h": 297.8
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#6E34BC
secondary
#ABC983
accent
#E0489F
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6E34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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