#6A34BC#6A34BC

#6A34BC is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.199 H 296.0°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6A34BC
RGBrgb(106, 52, 188)
HSLhsl(264, 57%, 47%)
HSVhsv(264, 72%, 74%)
CMYKcmyk(43.6%, 72.3%, 0%, 26.3%)
CIE-LABlab(36.27, 52.17, -62.59)
CIE-LCHlch(36.27, 81.49, 309.81°)
OKLaboklab(47.39% 0.0873 -0.1791)
OKLCHoklch(47.39% 0.199 296)
XYZxyz(16.2465, 9.1506, 48.4775)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A34BC #86BC34
analogous
#3442BC #6A34BC #AE34BC
triadic
#6A34BC #BC6A34 #34BC6A
tetradic
#6A34BC #BC3442 #86BC34 #34BCAE
square
#6A34BC #BC3442 #86BC34 #34BCAE
split-complementary
#6A34BC #BCAE34 #42BC34
monochromatic
#34195C #4F278C #6A34BC #8A5BD2 #AD8BDF

Accessibility & contrast

On white

7.42
#6A34BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6A34BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A34BC
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A34BC#FFFFFF#000000##FFFFFF
##6A34BC1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C0
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#545775
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6a34bc;
/* rgb */ color: rgb(106, 52, 188);
/* oklch */ color: oklch(47.4% 0.199 296.0);
Tailwind
colors: {
  custom: {
    50: '#9c70d1',
    500: '#6a34bc',
    950: '#000000',
  },
}
SCSS
$custom: #6a34bc;
$custom-light: #9c70d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a34bc",
  "rgb": {
    "r": 106,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 263.824,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47388,
    "c": 0.19925,
    "h": 296
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#6A34BC
secondary
#ADC983
accent
#E048A4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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