#6D34C9#6D34C9

#6D34C9 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.8% C 0.214 H 294.5°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#6D34C9
RGBrgb(109, 52, 201)
HSLhsl(263, 59%, 50%)
HSVhsv(263, 74%, 79%)
CMYKcmyk(45.8%, 74.1%, 0%, 21.2%)
CIE-LABlab(37.71, 56.04, -67.85)
CIE-LCHlch(37.71, 88.00, 309.56°)
OKLaboklab(48.81% 0.0887 -0.1944)
OKLCHoklch(48.81% 0.214 294.5)
XYZxyz(18.0744, 9.9237, 56.2102)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34C9 #90C934
analogous
#3446C9 #6D34C9 #B834C9
triadic
#6D34C9 #C96D34 #34C96D
tetradic
#6D34C9 #C93446 #90C934 #34C9B8
square
#6D34C9 #C93446 #90C934 #34C9B8
split-complementary
#6D34C9 #C9B834 #46C934
monochromatic
#381B68 #532798 #6D34C9 #9063D7 #B294E3

Accessibility & contrast

On white

7.04
#6D34C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6D34C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D34C9
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34C9#FFFFFF#000000##FFFFFF
##6D34C91.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#0056C6
Tritanopia (blue-blind)
#525C7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6d34c9;
/* rgb */ color: rgb(109, 52, 201);
/* oklch */ color: oklch(48.8% 0.214 294.5);
Tailwind
colors: {
  custom: {
    50: '#9f71db',
    500: '#6d34c9',
    950: '#000000',
  },
}
SCSS
$custom: #6d34c9;
$custom-light: #9f71db;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34c9",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 262.953,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48814,
    "c": 0.2137,
    "h": 294.5
  },
  "luminance": 0.09924
}

Semantic roles & 50–950 ramp

primary
#6D34C9
secondary
#B4CE8A
accent
#E246A6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6D34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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