#6A39B9#6A39B9

#6A39B9 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.8% C 0.190 H 295.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6A39B9
RGBrgb(106, 57, 185)
HSLhsl(263, 53%, 47%)
HSVhsv(263, 69%, 73%)
CMYKcmyk(42.7%, 69.2%, 0%, 27.5%)
CIE-LABlab(36.92, 48.92, -59.78)
CIE-LCHlch(36.92, 77.24, 309.29°)
OKLaboklab(47.77% 0.083 -0.1709)
OKLCHoklch(47.77% 0.19 295.9)
XYZxyz(16.1616, 9.4929, 46.8703)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39B9 #88B939
analogous
#3948B9 #6A39B9 #AA39B9
triadic
#6A39B9 #B96A39 #39B96A
tetradic
#6A39B9 #B93948 #88B939 #39B9AA
square
#6A39B9 #B93948 #88B939 #39B9AA
split-complementary
#6A39B9 #B9AA39 #48B939
monochromatic
#341C5B #4F2B8A #6A39B9 #8B61CE #AD90DD

Accessibility & contrast

On white

7.24
#6A39B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6A39B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A39B9
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39B9#FFFFFF#000000##FFFFFF
##6A39B91.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#555875
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a39b9;
/* rgb */ color: rgb(106, 57, 185);
/* oklch */ color: oklch(47.8% 0.190 295.9);
Tailwind
colors: {
  custom: {
    50: '#9b73cf',
    500: '#6a39b9',
    950: '#000000',
  },
}
SCSS
$custom: #6a39b9;
$custom-light: #9b73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39b9",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 185
  },
  "hsl": {
    "h": 262.969,
    "s": 52.893,
    "l": 47.451
  },
  "oklch": {
    "l": 0.47771,
    "c": 0.18996,
    "h": 295.9
  },
  "luminance": 0.09493
}

Semantic roles & 50–950 ramp

primary
#6A39B9
secondary
#AFC886
accent
#DC4BA5
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A39B9

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

Preview Lab → · Contrast checker → · Palette generator →

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