#6F34B9#6F34B9

#6F34B9 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.197 H 298.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6F34B9
RGBrgb(111, 52, 185)
HSLhsl(267, 56%, 46%)
HSVhsv(267, 72%, 73%)
CMYKcmyk(40%, 71.9%, 0%, 27.5%)
CIE-LABlab(36.63, 52.30, -60.22)
CIE-LCHlch(36.63, 79.76, 310.97°)
OKLaboklab(47.7% 0.0951 -0.172)
OKLCHoklch(47.7% 0.197 298.9)
XYZxyz(16.5383, 9.3381, 46.8206)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34B9 #7EB934
analogous
#343BB9 #6F34B9 #B234B9
triadic
#6F34B9 #B96F34 #34B96F
tetradic
#6F34B9 #B9343B #7EB934 #34B9B2
square
#6F34B9 #B9343B #7EB934 #34B9B2
split-complementary
#6F34B9 #B9B234 #3BB934
monochromatic
#361959 #522789 #6F34B9 #8E5AD1 #AF89DE

Accessibility & contrast

On white

7.32
#6F34B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6F34B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34B9
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34B9#FFFFFF#000000##FFFFFF
##6F34B91.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#5D5573
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f34b9;
/* rgb */ color: rgb(111, 52, 185);
/* oklch */ color: oklch(47.7% 0.197 298.9);
Tailwind
colors: {
  custom: {
    50: '#9f71cf',
    500: '#6f34b9',
    950: '#000000',
  },
}
SCSS
$custom: #6f34b9;
$custom-light: #9f71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34b9",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 185
  },
  "hsl": {
    "h": 266.617,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.19651,
    "h": 298.9
  },
  "luminance": 0.09338
}

Semantic roles & 50–950 ramp

primary
#6F34B9
secondary
#A8C881
accent
#DF489C
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F34B9

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

Preview Lab → · Contrast checker → · Palette generator →

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