#6A34C1#6A34C1

#6A34C1 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.205 H 294.9°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6A34C1
RGBrgb(106, 52, 193)
HSLhsl(263, 58%, 48%)
HSVhsv(263, 73%, 76%)
CMYKcmyk(45.1%, 73.1%, 0%, 24.3%)
CIE-LABlab(36.69, 53.48, -64.85)
CIE-LCHlch(36.69, 84.06, 309.51°)
OKLaboklab(47.81% 0.0862 -0.1858)
OKLCHoklch(47.81% 0.205 294.9)
XYZxyz(16.7949, 9.3700, 51.3654)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A34C1 #8BC134
analogous
#3444C1 #6A34C1 #B034C1
triadic
#6A34C1 #C16A34 #34C16A
tetradic
#6A34C1 #C13444 #8BC134 #34C1B0
square
#6A34C1 #C13444 #8BC134 #34C1B0
split-complementary
#6A34C1 #C1B034 #44C134
monochromatic
#351A61 #502791 #6A34C1 #8B5ED4 #AE8FE1

Accessibility & contrast

On white

7.31
#6A34C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6A34C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A34C1
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A34C1#FFFFFF#000000##FFFFFF
##6A34C11.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#515978
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a34c1;
/* rgb */ color: rgb(106, 52, 193);
/* oklch */ color: oklch(47.8% 0.205 294.9);
Tailwind
colors: {
  custom: {
    50: '#9c71d5',
    500: '#6a34c1',
    950: '#000000',
  },
}
SCSS
$custom: #6a34c1;
$custom-light: #9c71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a34c1",
  "rgb": {
    "r": 106,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 262.979,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.4781,
    "c": 0.20478,
    "h": 294.9
  },
  "luminance": 0.0937
}

Semantic roles & 50–950 ramp

primary
#6A34C1
secondary
#B1CB86
accent
#E147A6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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