#6D34BB#6D34BB

#6D34BB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.198 H 297.6°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6D34BB
RGBrgb(109, 52, 187)
HSLhsl(265, 56%, 47%)
HSVhsv(265, 72%, 73%)
CMYKcmyk(41.7%, 72.2%, 0%, 26.7%)
CIE-LABlab(36.55, 52.44, -61.54)
CIE-LCHlch(36.55, 80.86, 310.44°)
OKLaboklab(47.64% 0.0918 -0.1759)
OKLCHoklch(47.64% 0.198 297.6)
XYZxyz(16.5020, 9.2948, 47.9287)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D34BB #82BB34
analogous
#343FBB #6D34BB #B034BB
triadic
#6D34BB #BB6D34 #34BB6D
tetradic
#6D34BB #BB343F #82BB34 #34BBB0
square
#6D34BB #BB343F #82BB34 #34BBB0
split-complementary
#6D34BB #BBB034 #3FBB34
monochromatic
#35195B #51278B #6D34BB #8D5BD1 #AE8BDF

Accessibility & contrast

On white

7.35
#6D34BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6D34BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D34BB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D34BB#FFFFFF#000000##FFFFFF
##6D34BB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#595674
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6d34bb;
/* rgb */ color: rgb(109, 52, 187);
/* oklch */ color: oklch(47.6% 0.198 297.6);
Tailwind
colors: {
  custom: {
    50: '#9e71d0',
    500: '#6d34bb',
    950: '#000000',
  },
}
SCSS
$custom: #6d34bb;
$custom-light: #9e71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d34bb",
  "rgb": {
    "r": 109,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 265.333,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47636,
    "c": 0.19845,
    "h": 297.6
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#6D34BB
secondary
#ABC982
accent
#E048A0
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6D34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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