#6A39C8#6A39C8

#6A39C8 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.0% C 0.207 H 292.8°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#6A39C8
RGBrgb(106, 57, 200)
HSLhsl(261, 57%, 50%)
HSVhsv(261, 72%, 78%)
CMYKcmyk(47%, 71.5%, 0%, 21.6%)
CIE-LABlab(38.13, 52.91, -66.59)
CIE-LCHlch(38.13, 85.05, 308.47°)
OKLaboklab(49.01% 0.0802 -0.1909)
OKLCHoklch(49.01% 0.207 292.8)
XYZxyz(17.8294, 10.1600, 55.6540)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39C8 #97C839
analogous
#3950C8 #6A39C8 #B139C8
triadic
#6A39C8 #C86A39 #39C86A
tetradic
#6A39C8 #C83950 #97C839 #39C8B1
square
#6A39C8 #C83950 #97C839 #39C8B1
split-complementary
#6A39C8 #C8B139 #50C839
monochromatic
#371D69 #502B99 #6A39C8 #8E69D5 #B299E3

Accessibility & contrast

On white

6.93
#6A39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6A39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A39C8
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39C8#FFFFFF#000000##FFFFFF
##6A39C81.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#4D5E7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6a39c8;
/* rgb */ color: rgb(106, 57, 200);
/* oklch */ color: oklch(49.0% 0.207 292.8);
Tailwind
colors: {
  custom: {
    50: '#9d74da',
    500: '#6a39c8',
    950: '#000000',
  },
}
SCSS
$custom: #6a39c8;
$custom-light: #9d74da;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39c8",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 260.559,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.4901,
    "c": 0.20704,
    "h": 292.8
  },
  "luminance": 0.10161
}

Semantic roles & 50–950 ramp

primary
#6A39C8
secondary
#B8CE8F
accent
#E048AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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