#6F34C2#6F34C2

#6F34C2 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.206 H 296.9°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6F34C2
RGBrgb(111, 52, 194)
HSLhsl(265, 58%, 48%)
HSVhsv(265, 73%, 76%)
CMYKcmyk(42.8%, 73.2%, 0%, 23.9%)
CIE-LABlab(37.35, 54.58, -64.33)
CIE-LCHlch(37.35, 84.36, 310.31°)
OKLaboklab(48.44% 0.0932 -0.184)
OKLCHoklch(48.44% 0.206 296.9)
XYZxyz(17.5186, 9.7302, 51.9836)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34C2 #87C234
analogous
#3440C2 #6F34C2 #B634C2
triadic
#6F34C2 #C26F34 #34C26F
tetradic
#6F34C2 #C23440 #87C234 #34C2B6
square
#6F34C2 #C23440 #87C234 #34C2B6
split-complementary
#6F34C2 #C2B634 #40C234
monochromatic
#381A61 #532792 #6F34C2 #905FD4 #B18FE1

Accessibility & contrast

On white

7.13
#6F34C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6F34C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34C2
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34C2#FFFFFF#000000##FFFFFF
##6F34C21.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#595978
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f34c2;
/* rgb */ color: rgb(111, 52, 194);
/* oklch */ color: oklch(48.4% 0.206 296.9);
Tailwind
colors: {
  custom: {
    50: '#a071d5',
    500: '#6f34c2',
    950: '#000000',
  },
}
SCSS
$custom: #6f34c2;
$custom-light: #a071d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34c2",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 264.93,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48438,
    "c": 0.20629,
    "h": 296.9
  },
  "luminance": 0.09731
}

Semantic roles & 50–950 ramp

primary
#6F34C2
secondary
#AFCC86
accent
#E147A1
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F34C2

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

Preview Lab → · Contrast checker → · Palette generator →

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