#6B34C1#6B34C1

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

Color values

HEX#6B34C1
RGBrgb(107, 52, 193)
HSLhsl(263, 58%, 48%)
HSVhsv(263, 73%, 76%)
CMYKcmyk(44.6%, 73.1%, 0%, 24.3%)
CIE-LABlab(36.80, 53.64, -64.66)
CIE-LCHlch(36.80, 84.01, 309.68°)
OKLaboklab(47.92% 0.0876 -0.1852)
OKLCHoklch(47.92% 0.205 295.3)
XYZxyz(16.9144, 9.4316, 51.3710)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B34C1 #8AC134
analogous
#3444C1 #6B34C1 #B134C1
triadic
#6B34C1 #C16B34 #34C16B
tetradic
#6B34C1 #C13444 #8AC134 #34C1B1
square
#6B34C1 #C13444 #8AC134 #34C1B1
split-complementary
#6B34C1 #C1B134 #44C134
monochromatic
#361A61 #502791 #6B34C1 #8C5ED4 #AF8FE1

Accessibility & contrast

On white

7.28
#6B34C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6B34C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B34C1
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B34C1#FFFFFF#000000##FFFFFF
##6B34C11.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#0054BE
Tritanopia (blue-blind)
#535978
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6b34c1;
/* rgb */ color: rgb(107, 52, 193);
/* oklch */ color: oklch(47.9% 0.205 295.3);
Tailwind
colors: {
  custom: {
    50: '#9d71d5',
    500: '#6b34c1',
    950: '#000000',
  },
}
SCSS
$custom: #6b34c1;
$custom-light: #9d71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b34c1",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 263.404,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.20485,
    "h": 295.3
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#6B34C1
secondary
#B0CB86
accent
#E147A5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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