#6F34B4#6F34B4

#6F34B4 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.191 H 300.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6F34B4
RGBrgb(111, 52, 180)
HSLhsl(268, 55%, 45%)
HSVhsv(268, 71%, 71%)
CMYKcmyk(38.3%, 71.1%, 0%, 29.4%)
CIE-LABlab(36.23, 51.04, -57.90)
CIE-LCHlch(36.23, 77.19, 311.40°)
OKLaboklab(47.3% 0.096 -0.1652)
OKLCHoklch(47.3% 0.191 300.2)
XYZxyz(16.0197, 9.1306, 44.0896)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34B4 #79B434
analogous
#3439B4 #6F34B4 #AF34B4
triadic
#6F34B4 #B46F34 #34B46F
tetradic
#6F34B4 #B43439 #79B434 #34B4AF
square
#6F34B4 #B43439 #79B434 #34B4AF
split-complementary
#6F34B4 #B4AF34 #39B434
monochromatic
#341955 #522685 #6F34B4 #8E57CE #AE86DC

Accessibility & contrast

On white

7.43
#6F34B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6F34B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34B4
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34B4#FFFFFF#000000##FFFFFF
##6F34B41.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#5F5370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f34b4;
/* rgb */ color: rgb(111, 52, 180);
/* oklch */ color: oklch(47.3% 0.191 300.2);
Tailwind
colors: {
  custom: {
    50: '#9e70cb',
    500: '#6f34b4',
    950: '#000000',
  },
}
SCSS
$custom: #6f34b4;
$custom-light: #9e70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34b4",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 180
  },
  "hsl": {
    "h": 267.656,
    "s": 55.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47296,
    "c": 0.19105,
    "h": 300.2
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#6F34B4
secondary
#A5C67E
accent
#DF499A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F34B4

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

Preview Lab → · Contrast checker → · Palette generator →

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