#6F34C7#6F34C7

#6F34C7 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.9% C 0.212 H 295.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6F34C7
RGBrgb(111, 52, 199)
HSLhsl(264, 59%, 49%)
HSVhsv(264, 74%, 78%)
CMYKcmyk(44.2%, 73.9%, 0%, 22%)
CIE-LABlab(37.77, 55.85, -66.57)
CIE-LCHlch(37.77, 86.89, 310.00°)
OKLaboklab(48.86% 0.0921 -0.1906)
OKLCHoklch(48.86% 0.212 295.8)
XYZxyz(18.0896, 9.9586, 54.9909)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34C7 #8CC734
analogous
#3442C7 #6F34C7 #B934C7
triadic
#6F34C7 #C76F34 #34C76F
tetradic
#6F34C7 #C73442 #8CC734 #34C7B9
square
#6F34C7 #C73442 #8CC734 #34C7B9
split-complementary
#6F34C7 #C7B934 #42C734
monochromatic
#391B66 #542796 #6F34C7 #9162D6 #B393E3

Accessibility & contrast

On white

7.02
#6F34C7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6F34C7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34C7
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34C7#FFFFFF#000000##FFFFFF
##6F34C71.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#0057C4
Tritanopia (blue-blind)
#575B7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f34c7;
/* rgb */ color: rgb(111, 52, 199);
/* oklch */ color: oklch(48.9% 0.212 295.8);
Tailwind
colors: {
  custom: {
    50: '#a071d9',
    500: '#6f34c7',
    950: '#000000',
  },
}
SCSS
$custom: #6f34c7;
$custom-light: #a071d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34c7",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 264.082,
    "s": 58.566,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48858,
    "c": 0.21169,
    "h": 295.8
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#6F34C7
secondary
#B2CE89
accent
#E246A3
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F34C7

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

Preview Lab → · Contrast checker → · Palette generator →

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