#6A39DA#6A39DA

#6A39DA is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.6% C 0.227 H 289.6°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#6A39DA
RGBrgb(106, 57, 218)
HSLhsl(258, 69%, 54%)
HSVhsv(258, 74%, 85%)
CMYKcmyk(51.4%, 73.9%, 0%, 14.5%)
CIE-LABlab(39.67, 57.74, -74.47)
CIE-LCHlch(39.67, 94.23, 307.79°)
OKLaboklab(50.57% 0.0761 -0.214)
OKLCHoklch(50.57% 0.227 289.6)
XYZxyz(20.0582, 11.0515, 67.3923)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39DA #A9DA39
analogous
#3959DA #6A39DA #BB39DA
triadic
#6A39DA #DA6A39 #39DA6A
tetradic
#6A39DA #DA3959 #A9DA39 #39DABB
square
#6A39DA #DA3959 #A9DA39 #39DABB
split-complementary
#6A39DA #DABB39 #59DA39
monochromatic
#381881 #4E22B4 #6A39DA #916DE4 #B8A0ED

Accessibility & contrast

On white

6.54
#6A39DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#6A39DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A39DA
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39DA#FFFFFF#000000##FFFFFF
##6A39DA1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DF
Deuteranopia (green-blind)
#005AD7
Tritanopia (blue-blind)
#416587
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6a39da;
/* rgb */ color: rgb(106, 57, 218);
/* oklch */ color: oklch(50.6% 0.227 289.6);
Tailwind
colors: {
  custom: {
    50: '#9f74e7',
    500: '#6a39da',
    950: '#000000',
  },
}
SCSS
$custom: #6a39da;
$custom-light: #9f74e7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39da",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 218
  },
  "hsl": {
    "h": 258.261,
    "s": 68.511,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5057,
    "c": 0.22713,
    "h": 289.6
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#6A39DA
secondary
#C5DA95
accent
#EB3CB6
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #6A39DA

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

Preview Lab → · Contrast checker → · Palette generator →

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