#6F34B2#6F34B2

#6F34B2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.1% C 0.189 H 300.7°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#6F34B2
RGBrgb(111, 52, 178)
HSLhsl(268, 55%, 45%)
HSVhsv(268, 71%, 70%)
CMYKcmyk(37.6%, 70.8%, 0%, 30.2%)
CIE-LABlab(36.08, 50.54, -56.97)
CIE-LCHlch(36.08, 76.16, 311.58°)
OKLaboklab(47.14% 0.0964 -0.1624)
OKLCHoklch(47.14% 0.189 300.7)
XYZxyz(15.8174, 9.0497, 43.0243)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34B2 #77B234
analogous
#3438B2 #6F34B2 #AE34B2
triadic
#6F34B2 #B26F34 #34B26F
tetradic
#6F34B2 #B23438 #77B234 #34B2AE
square
#6F34B2 #B23438 #77B234 #34B2AE
split-complementary
#6F34B2 #B2AE34 #38B234
monochromatic
#341853 #512683 #6F34B2 #8E56CE #AD85DB

Accessibility & contrast

On white

7.47
#6F34B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6F34B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34B2
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34B2#FFFFFF#000000##FFFFFF
##6F34B21.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#60526F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f34b2;
/* rgb */ color: rgb(111, 52, 178);
/* oklch */ color: oklch(47.1% 0.189 300.7);
Tailwind
colors: {
  custom: {
    50: '#9e70ca',
    500: '#6f34b2',
    950: '#000000',
  },
}
SCSS
$custom: #6f34b2;
$custom-light: #9e70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34b2",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 268.095,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47138,
    "c": 0.18887,
    "h": 300.7
  },
  "luminance": 0.0905
}

Semantic roles & 50–950 ramp

primary
#6F34B2
secondary
#A3C57D
accent
#DE4A99
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F34B2

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

Preview Lab → · Contrast checker → · Palette generator →

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