#6B34B9#6B34B9

#6B34B9 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.196 H 297.1°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6B34B9
RGBrgb(107, 52, 185)
HSLhsl(265, 56%, 46%)
HSVhsv(265, 72%, 73%)
CMYKcmyk(42.2%, 71.9%, 0%, 27.5%)
CIE-LABlab(36.15, 51.57, -61.03)
CIE-LCHlch(36.15, 79.90, 310.20°)
OKLaboklab(47.25% 0.0893 -0.1745)
OKLCHoklch(47.25% 0.196 297.1)
XYZxyz(16.0461, 9.0843, 46.7976)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B34B9 #82B934
analogous
#3440B9 #6B34B9 #AE34B9
triadic
#6B34B9 #B96B34 #34B96B
tetradic
#6B34B9 #B93440 #82B934 #34B9AE
square
#6B34B9 #B93440 #82B934 #34B9AE
split-complementary
#6B34B9 #B9AE34 #40B934
monochromatic
#341959 #4F2789 #6B34B9 #8B5AD1 #AC89DE

Accessibility & contrast

On white

7.45
#6B34B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6B34B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B34B9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B34B9#FFFFFF#000000##FFFFFF
##6B34B91.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0053B6
Tritanopia (blue-blind)
#575673
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b34b9;
/* rgb */ color: rgb(107, 52, 185);
/* oklch */ color: oklch(47.2% 0.196 297.1);
Tailwind
colors: {
  custom: {
    50: '#9c70cf',
    500: '#6b34b9',
    950: '#000000',
  },
}
SCSS
$custom: #6b34b9;
$custom-light: #9c70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6b34b9",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 264.812,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47249,
    "c": 0.19603,
    "h": 297.1
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#6B34B9
secondary
#ABC881
accent
#DF48A1
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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