#6D34B8#6D34B8

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

Color values

HEX#6D34B8
RGBrgb(109, 52, 184)
HSLhsl(266, 56%, 46%)
HSVhsv(266, 72%, 72%)
CMYKcmyk(40.8%, 71.7%, 0%, 27.8%)
CIE-LABlab(36.30, 51.68, -60.17)
CIE-LCHlch(36.30, 79.31, 310.66°)
OKLaboklab(47.39% 0.0924 -0.1719)
OKLCHoklch(47.39% 0.195 298.3)
XYZxyz(16.1842, 9.1676, 46.2550)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34B8 #7FB834
analogous
#343DB8 #6D34B8 #AF34B8
triadic
#6D34B8 #B86D34 #34B86D
tetradic
#6D34B8 #B8343D #7FB834 #34B8AF
square
#6D34B8 #B8343D #7FB834 #34B8AF
split-complementary
#6D34B8 #B8AF34 #3DB834
monochromatic
#341959 #512788 #6D34B8 #8C59D0 #AD89DE

Accessibility & contrast

On white

7.41
#6D34B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D34B8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34B8#FFFFFF#000000##FFFFFF
##6D34B81.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#5B5573
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6d34b8;
/* rgb */ color: rgb(109, 52, 184);
/* oklch */ color: oklch(47.4% 0.195 298.3);
Tailwind
colors: {
  custom: {
    50: '#9d70ce',
    500: '#6d34b8',
    950: '#000000',
  },
}
SCSS
$custom: #6d34b8;
$custom-light: #9d70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34b8",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 265.909,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47391,
    "c": 0.19516,
    "h": 298.3
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#6D34B8
secondary
#A9C880
accent
#DF499E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D34B8

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

Preview Lab → · Contrast checker → · Palette generator →

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