#6A39BB#6A39BB

#6A39BB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 47.9% C 0.192 H 295.5°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6A39BB
RGBrgb(106, 57, 187)
HSLhsl(263, 53%, 48%)
HSVhsv(263, 70%, 73%)
CMYKcmyk(43.3%, 69.5%, 0%, 26.7%)
CIE-LABlab(37.07, 49.45, -60.70)
CIE-LCHlch(37.07, 78.29, 309.17°)
OKLaboklab(47.93% 0.0827 -0.1736)
OKLCHoklch(47.93% 0.192 295.5)
XYZxyz(16.3742, 9.5779, 47.9901)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39BB #8ABB39
analogous
#3949BB #6A39BB #AB39BB
triadic
#6A39BB #BB6A39 #39BB6A
tetradic
#6A39BB #BB3949 #8ABB39 #39BBAB
square
#6A39BB #BB3949 #8ABB39 #39BBAB
split-complementary
#6A39BB #BBAB39 #49BB39
monochromatic
#351C5D #4F2B8C #6A39BB #8B62CF #AE91DD

Accessibility & contrast

On white

7.20
#6A39BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6A39BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A39BB
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39BB#FFFFFF#000000##FFFFFF
##6A39BB1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#545976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a39bb;
/* rgb */ color: rgb(106, 57, 187);
/* oklch */ color: oklch(47.9% 0.192 295.5);
Tailwind
colors: {
  custom: {
    50: '#9b73d0',
    500: '#6a39bb',
    950: '#000000',
  },
}
SCSS
$custom: #6a39bb;
$custom-light: #9b73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39bb",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 187
  },
  "hsl": {
    "h": 262.615,
    "s": 53.279,
    "l": 47.843
  },
  "oklch": {
    "l": 0.47933,
    "c": 0.19226,
    "h": 295.5
  },
  "luminance": 0.09578
}

Semantic roles & 50–950 ramp

primary
#6A39BB
secondary
#B0C887
accent
#DD4BA6
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A39BB

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

Preview Lab → · Contrast checker → · Palette generator →

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