#6F34BC#6F34BC

#6F34BC is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.200 H 298.2°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#6F34BC
RGBrgb(111, 52, 188)
HSLhsl(266, 57%, 47%)
HSVhsv(266, 72%, 74%)
CMYKcmyk(41%, 72.3%, 0%, 26.3%)
CIE-LABlab(36.87, 53.05, -61.60)
CIE-LCHlch(36.87, 81.30, 310.74°)
OKLaboklab(47.94% 0.0945 -0.176)
OKLCHoklch(47.94% 0.2 298.2)
XYZxyz(16.8583, 9.4661, 48.5061)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34BC #81BC34
analogous
#343DBC #6F34BC #B334BC
triadic
#6F34BC #BC6F34 #34BC6F
tetradic
#6F34BC #BC343D #81BC34 #34BCB3
square
#6F34BC #BC343D #81BC34 #34BCB3
split-complementary
#6F34BC #BCB334 #3DBC34
monochromatic
#36195C #53278C #6F34BC #8F5BD2 #B08BDF

Accessibility & contrast

On white

7.26
#6F34BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6F34BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34BC
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34BC#FFFFFF#000000##FFFFFF
##6F34BC1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#5C5675
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f34bc;
/* rgb */ color: rgb(111, 52, 188);
/* oklch */ color: oklch(47.9% 0.200 298.2);
Tailwind
colors: {
  custom: {
    50: '#9f71d1',
    500: '#6f34bc',
    950: '#000000',
  },
}
SCSS
$custom: #6f34bc;
$custom-light: #9f71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34bc",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 188
  },
  "hsl": {
    "h": 266.029,
    "s": 56.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47942,
    "c": 0.19978,
    "h": 298.2
  },
  "luminance": 0.09466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F34BC

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

Preview Lab → · Contrast checker → · Palette generator →

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