#6A39CC#6A39CC

#6A39CC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.212 H 292.0°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#6A39CC
RGBrgb(106, 57, 204)
HSLhsl(260, 59%, 51%)
HSVhsv(260, 72%, 80%)
CMYKcmyk(48%, 72.1%, 0%, 20%)
CIE-LABlab(38.46, 53.98, -68.36)
CIE-LCHlch(38.46, 87.11, 308.30°)
OKLaboklab(49.35% 0.0794 -0.1961)
OKLCHoklch(49.35% 0.212 292)
XYZxyz(18.3030, 10.3494, 58.1483)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39CC #9BCC39
analogous
#3951CC #6A39CC #B339CC
triadic
#6A39CC #CC6A39 #39CC6A
tetradic
#6A39CC #CC3951 #9BCC39 #39CCB3
square
#6A39CC #CC3951 #9BCC39 #39CCB3
split-complementary
#6A39CC #CCB339 #51CC39
monochromatic
#381C6E #50299F #6A39CC #8F6AD9 #B39AE5

Accessibility & contrast

On white

6.84
#6A39CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6A39CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A39CC
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39CC#FFFFFF#000000##FFFFFF
##6A39CC1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#4B607F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6a39cc;
/* rgb */ color: rgb(106, 57, 204);
/* oklch */ color: oklch(49.4% 0.212 292.0);
Tailwind
colors: {
  custom: {
    50: '#9d74dd',
    500: '#6a39cc',
    950: '#000000',
  },
}
SCSS
$custom: #6a39cc;
$custom-light: #9d74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39cc",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 260,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.4935,
    "c": 0.21154,
    "h": 292
  },
  "luminance": 0.1035
}

Semantic roles & 50–950 ramp

primary
#6A39CC
secondary
#BBD190
accent
#E246AE
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A39CC

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

Preview Lab → · Contrast checker → · Palette generator →

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