#6F39B7#6F39B7

#6F39B7 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.188 H 298.7°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#6F39B7
RGBrgb(111, 57, 183)
HSLhsl(266, 53%, 47%)
HSVhsv(266, 69%, 72%)
CMYKcmyk(39.3%, 68.9%, 0%, 28.2%)
CIE-LABlab(37.34, 49.36, -57.88)
CIE-LCHlch(37.34, 76.06, 310.46°)
OKLaboklab(48.16% 0.0904 -0.1651)
OKLCHoklch(48.16% 0.188 298.7)
XYZxyz(16.5638, 9.7244, 45.7949)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39B7 #81B739
analogous
#3942B7 #6F39B7 #AE39B7
triadic
#6F39B7 #B76F39 #39B76F
tetradic
#6F39B7 #B73942 #81B739 #39B7AE
square
#6F39B7 #B73942 #81B739 #39B7AE
split-complementary
#6F39B7 #B7AE39 #42B739
monochromatic
#361C5A #532A88 #6F39B7 #8F60CD #B08EDC

Accessibility & contrast

On white

7.13
#6F39B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6F39B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F39B7
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39B7#FFFFFF#000000##FFFFFF
##6F39B71.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BB
Deuteranopia (green-blind)
#0057B4
Tritanopia (blue-blind)
#5E5773
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f39b7;
/* rgb */ color: rgb(111, 57, 183);
/* oklch */ color: oklch(48.2% 0.188 298.7);
Tailwind
colors: {
  custom: {
    50: '#9e73cd',
    500: '#6f39b7',
    950: '#000000',
  },
}
SCSS
$custom: #6f39b7;
$custom-light: #9e73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39b7",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 183
  },
  "hsl": {
    "h": 265.714,
    "s": 52.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48159,
    "c": 0.18824,
    "h": 298.7
  },
  "luminance": 0.09725
}

Semantic roles & 50–950 ramp

primary
#6F39B7
secondary
#ABC785
accent
#DC4C9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F39B7

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

Preview Lab → · Contrast checker → · Palette generator →

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