#6F34BB#6F34BB

#6F34BB is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.199 H 298.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6F34BB
RGBrgb(111, 52, 187)
HSLhsl(266, 56%, 47%)
HSVhsv(266, 72%, 73%)
CMYKcmyk(40.6%, 72.2%, 0%, 26.7%)
CIE-LABlab(36.79, 52.80, -61.14)
CIE-LCHlch(36.79, 80.79, 310.81°)
OKLaboklab(47.86% 0.0947 -0.1747)
OKLCHoklch(47.86% 0.199 298.5)
XYZxyz(16.7509, 9.4231, 47.9404)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34BB #80BB34
analogous
#343DBB #6F34BB #B334BB
triadic
#6F34BB #BB6F34 #34BB6F
tetradic
#6F34BB #BB343D #80BB34 #34BBB3
square
#6F34BB #BB343D #80BB34 #34BBB3
split-complementary
#6F34BB #BBB334 #3DBB34
monochromatic
#36195B #53278B #6F34BB #8F5BD1 #AF8BDF

Accessibility & contrast

On white

7.28
#6F34BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F34BB
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34BB#FFFFFF#000000##FFFFFF
##6F34BB1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#5C5674
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f34bb;
/* rgb */ color: rgb(111, 52, 187);
/* oklch */ color: oklch(47.9% 0.199 298.5);
Tailwind
colors: {
  custom: {
    50: '#9f71d0',
    500: '#6f34bb',
    950: '#000000',
  },
}
SCSS
$custom: #6f34bb;
$custom-light: #9f71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34bb",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 266.222,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4786,
    "c": 0.1987,
    "h": 298.5
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#6F34BB
secondary
#AAC982
accent
#E0489D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F34BB

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

Preview Lab → · Contrast checker → · Palette generator →

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