#6A34C0#6A34C0

#6A34C0 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.204 H 295.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6A34C0
RGBrgb(106, 52, 192)
HSLhsl(263, 57%, 48%)
HSVhsv(263, 73%, 75%)
CMYKcmyk(44.8%, 72.9%, 0%, 24.7%)
CIE-LABlab(36.60, 53.22, -64.40)
CIE-LCHlch(36.60, 83.54, 309.57°)
OKLaboklab(47.73% 0.0864 -0.1844)
OKLCHoklch(47.73% 0.204 295.1)
XYZxyz(16.6837, 9.3255, 50.7799)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A34C0 #8AC034
analogous
#3444C0 #6A34C0 #B034C0
triadic
#6A34C0 #C06A34 #34C06A
tetradic
#6A34C0 #C03444 #8AC034 #34C0B0
square
#6A34C0 #C03444 #8AC034 #34C0B0
split-complementary
#6A34C0 #C0B034 #44C034
monochromatic
#351A60 #4F2790 #6A34C0 #8B5ED3 #AE8EE0

Accessibility & contrast

On white

7.33
#6A34C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A34C0
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A34C0#FFFFFF#000000##FFFFFF
##6A34C01.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a34c0;
/* rgb */ color: rgb(106, 52, 192);
/* oklch */ color: oklch(47.7% 0.204 295.1);
Tailwind
colors: {
  custom: {
    50: '#9c70d4',
    500: '#6a34c0',
    950: '#000000',
  },
}
SCSS
$custom: #6a34c0;
$custom-light: #9c70d4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a34c0",
  "rgb": {
    "r": 106,
    "g": 52,
    "b": 192
  },
  "hsl": {
    "h": 263.143,
    "s": 57.377,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47725,
    "c": 0.20367,
    "h": 295.1
  },
  "luminance": 0.09326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A34C0

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

Preview Lab → · Contrast checker → · Palette generator →

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