#6A39D3#6A39D3

#6A39D3 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.0% C 0.219 H 290.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#6A39D3
RGBrgb(106, 57, 211)
HSLhsl(259, 64%, 53%)
HSVhsv(259, 73%, 83%)
CMYKcmyk(49.8%, 73%, 0%, 17.3%)
CIE-LABlab(39.06, 55.86, -71.44)
CIE-LCHlch(39.06, 90.68, 308.02°)
OKLaboklab(49.95% 0.0778 -0.2051)
OKLCHoklch(49.95% 0.219 290.8)
XYZxyz(19.1615, 10.6928, 62.6697)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39D3 #A2D339
analogous
#3955D3 #6A39D3 #B739D3
triadic
#6A39D3 #D36A39 #39D36A
tetradic
#6A39D3 #D33955 #A2D339 #39D3B7
square
#6A39D3 #D33955 #A2D339 #39D3B7
split-complementary
#6A39D3 #D3B739 #55D339
monochromatic
#381A77 #4F26A9 #6A39D3 #906BDE #B59DE9

Accessibility & contrast

On white

6.69
#6A39D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6A39D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A39D3
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39D3#FFFFFF#000000##FFFFFF
##6A39D31.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD7
Deuteranopia (green-blind)
#0059D0
Tritanopia (blue-blind)
#466283
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6a39d3;
/* rgb */ color: rgb(106, 57, 211);
/* oklch */ color: oklch(50.0% 0.219 290.8);
Tailwind
colors: {
  custom: {
    50: '#9e74e2',
    500: '#6a39d3',
    950: '#000000',
  },
}
SCSS
$custom: #6a39d3;
$custom-light: #9e74e2;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39d3",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 211
  },
  "hsl": {
    "h": 259.091,
    "s": 63.636,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49954,
    "c": 0.21937,
    "h": 290.8
  },
  "luminance": 0.10694
}

Semantic roles & 50–950 ramp

primary
#6A39D3
secondary
#C0D592
accent
#E741B2
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#100815
muted
#7F7B84

Preview Lab

Preview with #6A39D3

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

Preview Lab → · Contrast checker → · Palette generator →

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