#6A34D3#6A34D3

#6A34D3 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.224 H 291.4°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6A34D3
RGBrgb(106, 52, 211)
HSLhsl(260, 64%, 52%)
HSVhsv(260, 75%, 83%)
CMYKcmyk(49.8%, 75.4%, 0%, 17.3%)
CIE-LABlab(38.24, 58.19, -72.78)
CIE-LCHlch(38.24, 93.18, 308.64°)
OKLaboklab(49.38% 0.0818 -0.209)
OKLCHoklch(49.38% 0.224 291.4)
XYZxyz(18.9264, 10.2226, 62.5913)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A34D3 #9DD334
analogous
#344ED3 #6A34D3 #B934D3
triadic
#6A34D3 #D36A34 #34D36A
tetradic
#6A34D3 #D3344E #9DD334 #34D3B9
square
#6A34D3 #D3344E #9DD334 #34D3B9
split-complementary
#6A34D3 #D3B934 #4ED334
monochromatic
#381974 #5024A6 #6A34D3 #8F66DE #B499E9

Accessibility & contrast

On white

6.90
#6A34D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6A34D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A34D3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A34D3#FFFFFF#000000##FFFFFF
##6A34D31.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD7
Deuteranopia (green-blind)
#0057D0
Tritanopia (blue-blind)
#466082
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a34d3;
/* rgb */ color: rgb(106, 52, 211);
/* oklch */ color: oklch(49.4% 0.224 291.4);
Tailwind
colors: {
  custom: {
    50: '#9f71e2',
    500: '#6a34d3',
    950: '#000000',
  },
}
SCSS
$custom: #6a34d3;
$custom-light: #9f71e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a34d3",
  "rgb": {
    "r": 106,
    "g": 52,
    "b": 211
  },
  "hsl": {
    "h": 260.377,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49378,
    "c": 0.22444,
    "h": 291.4
  },
  "luminance": 0.10223
}

Semantic roles & 50–950 ramp

primary
#6A34D3
secondary
#BDD48E
accent
#E740AF
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100815
muted
#7F7B84

Preview Lab

Preview with #6A34D3

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

Preview Lab → · Contrast checker → · Palette generator →

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