#6E34BF#6E34BF

#6E34BF is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.203 H 297.1°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6E34BF
RGBrgb(110, 52, 191)
HSLhsl(265, 57%, 48%)
HSVhsv(265, 73%, 75%)
CMYKcmyk(42.4%, 72.8%, 0%, 25.1%)
CIE-LABlab(36.99, 53.64, -63.17)
CIE-LCHlch(36.99, 82.87, 310.34°)
OKLaboklab(48.08% 0.0924 -0.1807)
OKLCHoklch(48.08% 0.203 297.1)
XYZxyz(17.0599, 9.5322, 50.2212)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E34BF #85BF34
analogous
#343FBF #6E34BF #B434BF
triadic
#6E34BF #BF6E34 #34BF6E
tetradic
#6E34BF #BF343F #85BF34 #34BFB4
square
#6E34BF #BF343F #85BF34 #34BFB4
split-complementary
#6E34BF #BFB434 #3FBF34
monochromatic
#371A5F #52278F #6E34BF #8E5DD3 #B08DE0

Accessibility & contrast

On white

7.22
#6E34BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6E34BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6E34BF
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E34BF#FFFFFF#000000##FFFFFF
##6E34BF1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#595876
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6e34bf;
/* rgb */ color: rgb(110, 52, 191);
/* oklch */ color: oklch(48.1% 0.203 297.1);
Tailwind
colors: {
  custom: {
    50: '#9f71d3',
    500: '#6e34bf',
    950: '#000000',
  },
}
SCSS
$custom: #6e34bf;
$custom-light: #9f71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6e34bf",
  "rgb": {
    "r": 110,
    "g": 52,
    "b": 191
  },
  "hsl": {
    "h": 265.036,
    "s": 57.202,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.20293,
    "h": 297.1
  },
  "luminance": 0.09533
}

Semantic roles & 50–950 ramp

primary
#6E34BF
secondary
#ADCA84
accent
#E047A1
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6E34BF

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

Preview Lab → · Contrast checker → · Palette generator →

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