#6F34BD#6F34BD

#6F34BD is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.0% C 0.201 H 298.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6F34BD
RGBrgb(111, 52, 189)
HSLhsl(266, 57%, 47%)
HSVhsv(266, 72%, 74%)
CMYKcmyk(41.3%, 72.5%, 0%, 25.9%)
CIE-LABlab(36.95, 53.31, -62.06)
CIE-LCHlch(36.95, 81.81, 310.66°)
OKLaboklab(48.02% 0.0943 -0.1774)
OKLCHoklch(48.02% 0.201 298)
XYZxyz(16.9665, 9.5093, 49.0758)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34BD #82BD34
analogous
#343EBD #6F34BD #B334BD
triadic
#6F34BD #BD6F34 #34BD6F
tetradic
#6F34BD #BD343E #82BD34 #34BDB3
square
#6F34BD #BD343E #82BD34 #34BDB3
split-complementary
#6F34BD #BDB334 #3EBD34
monochromatic
#371A5D #53278D #6F34BD #8F5CD2 #B08CDF

Accessibility & contrast

On white

7.24
#6F34BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6F34BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34BD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34BD#FFFFFF#000000##FFFFFF
##6F34BD1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C1
Deuteranopia (green-blind)
#0055BA
Tritanopia (blue-blind)
#5C5775
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f34bd;
/* rgb */ color: rgb(111, 52, 189);
/* oklch */ color: oklch(48.0% 0.201 298.0);
Tailwind
colors: {
  custom: {
    50: '#9f71d2',
    500: '#6f34bd',
    950: '#000000',
  },
}
SCSS
$custom: #6f34bd;
$custom-light: #9f71d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34bd",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 265.839,
    "s": 56.846,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48024,
    "c": 0.20087,
    "h": 298
  },
  "luminance": 0.0951
}

Semantic roles & 50–950 ramp

primary
#6F34BD
secondary
#ABCA83
accent
#E0489E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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