#6A39B5#6A39B5

#6A39B5 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.185 H 296.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#6A39B5
RGBrgb(106, 57, 181)
HSLhsl(264, 52%, 47%)
HSVhsv(264, 69%, 71%)
CMYKcmyk(41.4%, 68.5%, 0%, 29%)
CIE-LABlab(36.61, 47.86, -57.92)
CIE-LCHlch(36.61, 75.13, 309.57°)
OKLaboklab(47.45% 0.0836 -0.1654)
OKLCHoklch(47.45% 0.185 296.8)
XYZxyz(15.7453, 9.3263, 44.6777)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39B5 #84B539
analogous
#3946B5 #6A39B5 #A839B5
triadic
#6A39B5 #B56A39 #39B56A
tetradic
#6A39B5 #B53946 #84B539 #39B5A8
square
#6A39B5 #B53946 #84B539 #39B5A8
split-complementary
#6A39B5 #B5A839 #46B539
monochromatic
#331C58 #4F2A86 #6A39B5 #8A5FCD #AC8DDB

Accessibility & contrast

On white

7.33
#6A39B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A39B5
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39B5#FFFFFF#000000##FFFFFF
##6A39B51.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#0055B2
Tritanopia (blue-blind)
#575772
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a39b5;
/* rgb */ color: rgb(106, 57, 181);
/* oklch */ color: oklch(47.5% 0.185 296.8);
Tailwind
colors: {
  custom: {
    50: '#9b73cc',
    500: '#6a39b5',
    950: '#000000',
  },
}
SCSS
$custom: #6a39b5;
$custom-light: #9b73cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39b5",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 263.71,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47451,
    "c": 0.18536,
    "h": 296.8
  },
  "luminance": 0.09327
}

Semantic roles & 50–950 ramp

primary
#6A39B5
secondary
#ACC684
accent
#DC4CA3
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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