#6F39AE#6F39AE

#6F39AE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.5% C 0.178 H 301.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6F39AE
RGBrgb(111, 57, 174)
HSLhsl(268, 51%, 45%)
HSVhsv(268, 67%, 68%)
CMYKcmyk(36.2%, 67.2%, 0%, 31.8%)
CIE-LABlab(36.67, 47.06, -53.63)
CIE-LCHlch(36.67, 71.35, 311.26°)
OKLaboklab(47.47% 0.0916 -0.1526)
OKLCHoklch(47.47% 0.178 301)
XYZxyz(15.6568, 9.3617, 41.0183)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F39AE #78AE39
analogous
#393EAE #6F39AE #A939AE
triadic
#6F39AE #AE6F39 #39AE6F
tetradic
#6F39AE #AE393E #78AE39 #39AEA9
square
#6F39AE #AE393E #78AE39 #39AEA9
split-complementary
#6F39AE #AEA939 #3EAE39
monochromatic
#341B52 #522A80 #6F39AE #8E5BC9 #AE89D8

Accessibility & contrast

On white

7.31
#6F39AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6F39AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F39AE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F39AE#FFFFFF#000000##FFFFFF
##6F39AE1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#61546F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f39ae;
/* rgb */ color: rgb(111, 57, 174);
/* oklch */ color: oklch(47.5% 0.178 301.0);
Tailwind
colors: {
  custom: {
    50: '#9d73c7',
    500: '#6f39ae',
    950: '#000000',
  },
}
SCSS
$custom: #6f39ae;
$custom-light: #9d73c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f39ae",
  "rgb": {
    "r": 111,
    "g": 57,
    "b": 174
  },
  "hsl": {
    "h": 267.692,
    "s": 50.649,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47466,
    "c": 0.17804,
    "h": 301
  },
  "luminance": 0.09362
}

Semantic roles & 50–950 ramp

primary
#6F39AE
secondary
#A4C380
accent
#DA4E99
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F39AE

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

Preview Lab → · Contrast checker → · Palette generator →

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