#6F34B7#6F34B7

#6F34B7 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.194 H 299.4°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#6F34B7
RGBrgb(111, 52, 183)
HSLhsl(267, 56%, 46%)
HSVhsv(267, 72%, 72%)
CMYKcmyk(39.3%, 71.6%, 0%, 28.2%)
CIE-LABlab(36.47, 51.79, -59.30)
CIE-LCHlch(36.47, 78.73, 311.14°)
OKLaboklab(47.54% 0.0955 -0.1693)
OKLCHoklch(47.54% 0.194 299.4)
XYZxyz(16.3286, 9.2542, 45.7165)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34B7 #7CB734
analogous
#343AB7 #6F34B7 #B034B7
triadic
#6F34B7 #B76F34 #34B76F
tetradic
#6F34B7 #B7343A #7CB734 #34B7B0
square
#6F34B7 #B7343A #7CB734 #34B7B0
split-complementary
#6F34B7 #B7B034 #3AB734
monochromatic
#351958 #522687 #6F34B7 #8E59D0 #AE88DD

Accessibility & contrast

On white

7.37
#6F34B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6F34B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34B7
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34B7#FFFFFF#000000##FFFFFF
##6F34B71.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0055B4
Tritanopia (blue-blind)
#5E5472
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f34b7;
/* rgb */ color: rgb(111, 52, 183);
/* oklch */ color: oklch(47.5% 0.194 299.4);
Tailwind
colors: {
  custom: {
    50: '#9e71ce',
    500: '#6f34b7',
    950: '#000000',
  },
}
SCSS
$custom: #6f34b7;
$custom-light: #9e71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34b7",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 267.023,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47536,
    "c": 0.19433,
    "h": 299.4
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F34B7

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

Preview Lab → · Contrast checker → · Palette generator →

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