#6D34BE#6D34BE

#6D34BE is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.202 H 296.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6D34BE
RGBrgb(109, 52, 190)
HSLhsl(265, 57%, 47%)
HSVhsv(265, 73%, 75%)
CMYKcmyk(42.6%, 72.6%, 0%, 25.5%)
CIE-LABlab(36.79, 53.21, -62.91)
CIE-LCHlch(36.79, 82.40, 310.23°)
OKLaboklab(47.88% 0.0912 -0.18)
OKLCHoklch(47.88% 0.202 296.9)
XYZxyz(16.8265, 9.4246, 49.6378)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34BE #85BE34
analogous
#3440BE #6D34BE #B234BE
triadic
#6D34BE #BE6D34 #34BE6D
tetradic
#6D34BE #BE3440 #85BE34 #34BEB2
square
#6D34BE #BE3440 #85BE34 #34BEB2
split-complementary
#6D34BE #BEB234 #40BE34
monochromatic
#361A5E #51278E #6D34BE #8D5DD3 #AF8DE0

Accessibility & contrast

On white

7.28
#6D34BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6D34BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D34BE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34BE#FFFFFF#000000##FFFFFF
##6D34BE1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#585776
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6d34be;
/* rgb */ color: rgb(109, 52, 190);
/* oklch */ color: oklch(47.9% 0.202 296.9);
Tailwind
colors: {
  custom: {
    50: '#9e71d3',
    500: '#6d34be',
    950: '#000000',
  },
}
SCSS
$custom: #6d34be;
$custom-light: #9e71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34be",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 264.783,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47884,
    "c": 0.20174,
    "h": 296.9
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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