#6B34BE#6B34BE

#6B34BE is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.202 H 296.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6B34BE
RGBrgb(107, 52, 190)
HSLhsl(264, 57%, 47%)
HSVhsv(264, 73%, 75%)
CMYKcmyk(43.7%, 72.6%, 0%, 25.5%)
CIE-LABlab(36.55, 52.87, -63.30)
CIE-LCHlch(36.55, 82.48, 309.87°)
OKLaboklab(47.67% 0.0883 -0.1812)
OKLCHoklch(47.67% 0.202 296)
XYZxyz(16.5832, 9.2991, 49.6264)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B34BE #87BE34
analogous
#3442BE #6B34BE #B034BE
triadic
#6B34BE #BE6B34 #34BE6B
tetradic
#6B34BE #BE3442 #87BE34 #34BEB0
square
#6B34BE #BE3442 #87BE34 #34BEB0
split-complementary
#6B34BE #BEB034 #42BE34
monochromatic
#351A5E #50278E #6B34BE #8C5DD3 #AE8DE0

Accessibility & contrast

On white

7.34
#6B34BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B34BE
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B34BE#FFFFFF#000000##FFFFFF
##6B34BE1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#0054BB
Tritanopia (blue-blind)
#555776
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b34be;
/* rgb */ color: rgb(107, 52, 190);
/* oklch */ color: oklch(47.7% 0.202 296.0);
Tailwind
colors: {
  custom: {
    50: '#9d70d3',
    500: '#6b34be',
    950: '#000000',
  },
}
SCSS
$custom: #6b34be;
$custom-light: #9d70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6b34be",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 190
  },
  "hsl": {
    "h": 263.913,
    "s": 57.025,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47665,
    "c": 0.20155,
    "h": 296
  },
  "luminance": 0.09299
}

Semantic roles & 50–950 ramp

primary
#6B34BE
secondary
#AECA84
accent
#E048A3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B34BE

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

Preview Lab → · Contrast checker → · Palette generator →

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