#6F34B6#6F34B6

#6F34B6 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.193 H 299.7°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6F34B6
RGBrgb(111, 52, 182)
HSLhsl(267, 56%, 46%)
HSVhsv(267, 71%, 71%)
CMYKcmyk(39%, 71.4%, 0%, 28.6%)
CIE-LABlab(36.39, 51.54, -58.83)
CIE-LCHlch(36.39, 78.22, 311.22°)
OKLaboklab(47.46% 0.0957 -0.1679)
OKLCHoklch(47.46% 0.193 299.7)
XYZxyz(16.2249, 9.2127, 45.1703)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34B6 #7BB634
analogous
#343AB6 #6F34B6 #B034B6
triadic
#6F34B6 #B66F34 #34B66F
tetradic
#6F34B6 #B6343A #7BB634 #34B6B0
square
#6F34B6 #B6343A #7BB634 #34B6B0
split-complementary
#6F34B6 #B6B034 #3AB634
monochromatic
#351957 #522686 #6F34B6 #8E58CF #AE88DD

Accessibility & contrast

On white

7.39
#6F34B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6F34B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34B6
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34B6#FFFFFF#000000##FFFFFF
##6F34B61.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0055B3
Tritanopia (blue-blind)
#5F5471
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f34b6;
/* rgb */ color: rgb(111, 52, 182);
/* oklch */ color: oklch(47.5% 0.193 299.7);
Tailwind
colors: {
  custom: {
    50: '#9e70cd',
    500: '#6f34b6',
    950: '#000000',
  },
}
SCSS
$custom: #6f34b6;
$custom-light: #9e70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34b6",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 182
  },
  "hsl": {
    "h": 267.231,
    "s": 55.556,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47456,
    "c": 0.19324,
    "h": 299.7
  },
  "luminance": 0.09213
}

Semantic roles & 50–950 ramp

primary
#6F34B6
secondary
#A6C77F
accent
#DF499B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F34B6

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

Preview Lab → · Contrast checker → · Palette generator →

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