#6F34B3#6F34B3

#6F34B3 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.2% C 0.190 H 300.4°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#6F34B3
RGBrgb(111, 52, 179)
HSLhsl(268, 55%, 45%)
HSVhsv(268, 71%, 70%)
CMYKcmyk(38%, 70.9%, 0%, 29.8%)
CIE-LABlab(36.16, 50.79, -57.44)
CIE-LCHlch(36.16, 76.67, 311.49°)
OKLaboklab(47.22% 0.0962 -0.1638)
OKLCHoklch(47.22% 0.19 300.4)
XYZxyz(15.9182, 9.0900, 43.5550)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34B3 #78B334
analogous
#3439B3 #6F34B3 #AE34B3
triadic
#6F34B3 #B36F34 #34B36F
tetradic
#6F34B3 #B33439 #78B334 #34B3AE
square
#6F34B3 #B33439 #78B334 #34B3AE
split-complementary
#6F34B3 #B3AE34 #39B334
monochromatic
#341854 #522684 #6F34B3 #8E56CE #AE86DC

Accessibility & contrast

On white

7.45
#6F34B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6F34B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34B3
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34B3#FFFFFF#000000##FFFFFF
##6F34B31.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#605370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f34b3;
/* rgb */ color: rgb(111, 52, 179);
/* oklch */ color: oklch(47.2% 0.190 300.4);
Tailwind
colors: {
  custom: {
    50: '#9e70cb',
    500: '#6f34b3',
    950: '#000000',
  },
}
SCSS
$custom: #6f34b3;
$custom-light: #9e70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34b3",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 267.874,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47217,
    "c": 0.18996,
    "h": 300.4
  },
  "luminance": 0.0909
}

Semantic roles & 50–950 ramp

primary
#6F34B3
secondary
#A4C57D
accent
#DE4999
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F34B3

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

Preview Lab → · Contrast checker → · Palette generator →

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