#6F34BA#6F34BA

#6F34BA is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.198 H 298.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#6F34BA
RGBrgb(111, 52, 186)
HSLhsl(266, 56%, 47%)
HSVhsv(266, 72%, 73%)
CMYKcmyk(40.3%, 72%, 0%, 27.1%)
CIE-LABlab(36.71, 52.55, -60.68)
CIE-LCHlch(36.71, 80.27, 310.89°)
OKLaboklab(47.78% 0.0949 -0.1733)
OKLCHoklch(47.78% 0.198 298.7)
XYZxyz(16.6442, 9.3804, 47.3785)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34BA #7FBA34
analogous
#343CBA #6F34BA #B234BA
triadic
#6F34BA #BA6F34 #34BA6F
tetradic
#6F34BA #BA343C #7FBA34 #34BAB2
square
#6F34BA #BA343C #7FBA34 #34BAB2
split-complementary
#6F34BA #BAB234 #3CBA34
monochromatic
#36195A #52278A #6F34BA #8F5AD1 #AF8ADE

Accessibility & contrast

On white

7.30
#6F34BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F34BA
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34BA#FFFFFF#000000##FFFFFF
##6F34BA1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#5D5674
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f34ba;
/* rgb */ color: rgb(111, 52, 186);
/* oklch */ color: oklch(47.8% 0.198 298.7);
Tailwind
colors: {
  custom: {
    50: '#9f71d0',
    500: '#6f34ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f34ba;
$custom-light: #9f71d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34ba",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 186
  },
  "hsl": {
    "h": 266.418,
    "s": 56.303,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47779,
    "c": 0.19761,
    "h": 298.7
  },
  "luminance": 0.09381
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F34BA

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

Preview Lab → · Contrast checker → · Palette generator →

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