#6A34C9#6A34C9

#6A34C9 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.214 H 293.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6A34C9
RGBrgb(106, 52, 201)
HSLhsl(262, 59%, 50%)
HSVhsv(262, 74%, 79%)
CMYKcmyk(47.3%, 74.1%, 0%, 21.2%)
CIE-LABlab(37.37, 55.57, -68.42)
CIE-LCHlch(37.37, 88.14, 309.08°)
OKLaboklab(48.5% 0.0843 -0.1962)
OKLCHoklch(48.5% 0.214 293.3)
XYZxyz(17.7115, 9.7366, 56.1932)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A34C9 #93C934
analogous
#3449C9 #6A34C9 #B534C9
triadic
#6A34C9 #C96A34 #34C96A
tetradic
#6A34C9 #C93449 #93C934 #34C9B5
square
#6A34C9 #C93449 #93C934 #34C9B5
split-complementary
#6A34C9 #C9B534 #49C934
monochromatic
#371B68 #502798 #6A34C9 #8D63D7 #B194E3

Accessibility & contrast

On white

7.12
#6A34C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6A34C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A34C9
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A34C9#FFFFFF#000000##FFFFFF
##6A34C91.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#4D5C7C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a34c9;
/* rgb */ color: rgb(106, 52, 201);
/* oklch */ color: oklch(48.5% 0.214 293.3);
Tailwind
colors: {
  custom: {
    50: '#9d71db',
    500: '#6a34c9',
    950: '#000000',
  },
}
SCSS
$custom: #6a34c9;
$custom-light: #9d71db;
$custom-dark: #000000;
JSON
{
  "hex": "#6a34c9",
  "rgb": {
    "r": 106,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 261.745,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48497,
    "c": 0.21357,
    "h": 293.3
  },
  "luminance": 0.09737
}

Semantic roles & 50–950 ramp

primary
#6A34C9
secondary
#B6CE8A
accent
#E246A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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