#6B34C0#6B34C0

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

Color values

HEX#6B34C0
RGBrgb(107, 52, 192)
HSLhsl(264, 57%, 48%)
HSVhsv(264, 73%, 75%)
CMYKcmyk(44.3%, 72.9%, 0%, 24.7%)
CIE-LABlab(36.72, 53.38, -64.21)
CIE-LCHlch(36.72, 83.50, 309.74°)
OKLaboklab(47.83% 0.0879 -0.1838)
OKLCHoklch(47.83% 0.204 295.5)
XYZxyz(16.8033, 9.3871, 50.7855)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B34C0 #89C034
analogous
#3443C0 #6B34C0 #B134C0
triadic
#6B34C0 #C06B34 #34C06B
tetradic
#6B34C0 #C03443 #89C034 #34C0B1
square
#6B34C0 #C03443 #89C034 #34C0B1
split-complementary
#6B34C0 #C0B134 #43C034
monochromatic
#351A60 #502790 #6B34C0 #8C5ED3 #AE8EE0

Accessibility & contrast

On white

7.30
#6B34C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6B34C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B34C0
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B34C0#FFFFFF#000000##FFFFFF
##6B34C01.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#545877
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b34c0;
/* rgb */ color: rgb(107, 52, 192);
/* oklch */ color: oklch(47.8% 0.204 295.5);
Tailwind
colors: {
  custom: {
    50: '#9d71d4',
    500: '#6b34c0',
    950: '#000000',
  },
}
SCSS
$custom: #6b34c0;
$custom-light: #9d71d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6b34c0",
  "rgb": {
    "r": 107,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 263.571,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47833,
    "c": 0.20375,
    "h": 295.5
  },
  "luminance": 0.09388
}

Semantic roles & 50–950 ramp

primary
#6B34C0
secondary
#AFCB85
accent
#E147A4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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