#6F34C3#6F34C3

#6F34C3 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.5% C 0.207 H 296.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#6F34C3
RGBrgb(111, 52, 195)
HSLhsl(265, 58%, 48%)
HSVhsv(265, 73%, 76%)
CMYKcmyk(43.1%, 73.3%, 0%, 23.5%)
CIE-LABlab(37.44, 54.83, -64.78)
CIE-LCHlch(37.44, 84.87, 310.25°)
OKLaboklab(48.52% 0.093 -0.1854)
OKLCHoklch(48.52% 0.207 296.6)
XYZxyz(17.6313, 9.7753, 52.5771)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34C3 #88C334
analogous
#3440C3 #6F34C3 #B634C3
triadic
#6F34C3 #C36F34 #34C36F
tetradic
#6F34C3 #C33440 #88C334 #34C3B6
square
#6F34C3 #C33440 #88C334 #34C3B6
split-complementary
#6F34C3 #C3B634 #40C334
monochromatic
#381A62 #532793 #6F34C3 #9060D5 #B290E1

Accessibility & contrast

On white

7.11
#6F34C3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#6F34C3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34C3
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34C3#FFFFFF#000000##FFFFFF
##6F34C31.007.112.967.11
#FFFFFF7.111.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#0056C0
Tritanopia (blue-blind)
#595979
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f34c3;
/* rgb */ color: rgb(111, 52, 195);
/* oklch */ color: oklch(48.5% 0.207 296.6);
Tailwind
colors: {
  custom: {
    50: '#a071d6',
    500: '#6f34c3',
    950: '#000000',
  },
}
SCSS
$custom: #6f34c3;
$custom-light: #a071d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34c3",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 195
  },
  "hsl": {
    "h": 264.755,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.48521,
    "c": 0.20737,
    "h": 296.6
  },
  "luminance": 0.09776
}

Semantic roles & 50–950 ramp

primary
#6F34C3
secondary
#AFCC87
accent
#E147A1
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #6F34C3

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

Preview Lab → · Contrast checker → · Palette generator →

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