#6B34C9#6B34C9

#6B34C9 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.6% C 0.214 H 293.7°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#6B34C9
RGBrgb(107, 52, 201)
HSLhsl(262, 59%, 50%)
HSVhsv(262, 74%, 79%)
CMYKcmyk(46.8%, 74.1%, 0%, 21.2%)
CIE-LABlab(37.48, 55.72, -68.23)
CIE-LCHlch(37.48, 88.09, 309.24°)
OKLaboklab(48.6% 0.0858 -0.1956)
OKLCHoklch(48.6% 0.214 293.7)
XYZxyz(17.8311, 9.7983, 56.1988)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B34C9 #92C934
analogous
#3447C9 #6B34C9 #B634C9
triadic
#6B34C9 #C96B34 #34C96B
tetradic
#6B34C9 #C93447 #92C934 #34C9B6
square
#6B34C9 #C93447 #92C934 #34C9B6
split-complementary
#6B34C9 #C9B634 #47C934
monochromatic
#371B68 #512798 #6B34C9 #8E63D7 #B194E3

Accessibility & contrast

On white

7.10
#6B34C9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6B34C9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B34C9
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B34C9#FFFFFF#000000##FFFFFF
##6B34C91.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b34c9;
/* rgb */ color: rgb(107, 52, 201);
/* oklch */ color: oklch(48.6% 0.214 293.7);
Tailwind
colors: {
  custom: {
    50: '#9e71db',
    500: '#6b34c9',
    950: '#000000',
  },
}
SCSS
$custom: #6b34c9;
$custom-light: #9e71db;
$custom-dark: #000000;
JSON
{
  "hex": "#6b34c9",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 201
  },
  "hsl": {
    "h": 262.148,
    "s": 58.893,
    "l": 49.608
  },
  "oklch": {
    "l": 0.48602,
    "c": 0.2136,
    "h": 293.7
  },
  "luminance": 0.09799
}

Semantic roles & 50–950 ramp

primary
#6B34C9
secondary
#B5CE8A
accent
#E246A8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B34C9

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

Preview Lab → · Contrast checker → · Palette generator →

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