#6F34C1#6F34C1

#6F34C1 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.4% C 0.205 H 297.1°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6F34C1
RGBrgb(111, 52, 193)
HSLhsl(265, 58%, 48%)
HSVhsv(265, 73%, 76%)
CMYKcmyk(42.5%, 73.1%, 0%, 24.3%)
CIE-LABlab(37.27, 54.32, -63.87)
CIE-LCHlch(37.27, 83.85, 310.38°)
OKLaboklab(48.35% 0.0934 -0.1827)
OKLCHoklch(48.35% 0.205 297.1)
XYZxyz(17.4067, 9.6854, 51.3941)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F34C1 #86C134
analogous
#3440C1 #6F34C1 #B534C1
triadic
#6F34C1 #C16F34 #34C16F
tetradic
#6F34C1 #C13440 #86C134 #34C1B5
square
#6F34C1 #C13440 #86C134 #34C1B5
split-complementary
#6F34C1 #C1B534 #40C134
monochromatic
#381A61 #532791 #6F34C1 #905ED4 #B18FE1

Accessibility & contrast

On white

7.15
#6F34C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6F34C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F34C1
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F34C1#FFFFFF#000000##FFFFFF
##6F34C11.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#5A5878
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f34c1;
/* rgb */ color: rgb(111, 52, 193);
/* oklch */ color: oklch(48.4% 0.205 297.1);
Tailwind
colors: {
  custom: {
    50: '#9f71d5',
    500: '#6f34c1',
    950: '#000000',
  },
}
SCSS
$custom: #6f34c1;
$custom-light: #9f71d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f34c1",
  "rgb": {
    "r": 111,
    "g": 52,
    "b": 193
  },
  "hsl": {
    "h": 265.106,
    "s": 57.551,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.2052,
    "h": 297.1
  },
  "luminance": 0.09686
}

Semantic roles & 50–950 ramp

primary
#6F34C1
secondary
#AECB86
accent
#E147A0
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F34C1

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

Preview Lab → · Contrast checker → · Palette generator →

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