#6F39D1#6F39D1

#6F39D1 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.217 H 293.2°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#6F39D1
RGBrgb(111, 57, 209)
HSLhsl(261, 62%, 52%)
HSVhsv(261, 73%, 82%)
CMYKcmyk(46.9%, 72.7%, 0%, 18%)
CIE-LABlab(39.43, 56.11, -69.66)
CIE-LCHlch(39.43, 89.45, 308.85°)
OKLaboklab(50.29% 0.0854 -0.1997)
OKLCHoklch(50.29% 0.217 293.2)
XYZxyz(19.5241, 10.9086, 61.3861)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39D1 #9BD139
analogous
#394FD1 #6F39D1 #BB39D1
triadic
#6F39D1 #D16F39 #39D16F
tetradic
#6F39D1 #D1394F #9BD139 #39D1BB
square
#6F39D1 #D1394F #9BD139 #39D1BB
split-complementary
#6F39D1 #D1BB39 #4FD139
monochromatic
#3B1B75 #5427A6 #6F39D1 #936BDD #B79CE8

Accessibility & contrast

On white

6.60
#6F39D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#6F39D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F39D1
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39D1#FFFFFF#000000##FFFFFF
##6F39D11.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD5
Deuteranopia (green-blind)
#005ACE
Tritanopia (blue-blind)
#516182
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6f39d1;
/* rgb */ color: rgb(111, 57, 209);
/* oklch */ color: oklch(50.3% 0.217 293.2);
Tailwind
colors: {
  custom: {
    50: '#a174e0',
    500: '#6f39d1',
    950: '#000000',
  },
}
SCSS
$custom: #6f39d1;
$custom-light: #a174e0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39d1",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 209
  },
  "hsl": {
    "h": 261.316,
    "s": 62.295,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50286,
    "c": 0.21723,
    "h": 293.2
  },
  "luminance": 0.10909
}

Semantic roles & 50–950 ramp

primary
#6F39D1
secondary
#BDD492
accent
#E542AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #6F39D1

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

Preview Lab → · Contrast checker → · Palette generator →

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