#6A39C2#6A39C2

#6A39C2 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 48.5% C 0.200 H 294.0°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#6A39C2
RGBrgb(106, 57, 194)
HSLhsl(261, 55%, 49%)
HSVhsv(261, 71%, 76%)
CMYKcmyk(45.4%, 70.6%, 0%, 23.9%)
CIE-LABlab(37.64, 51.31, -63.89)
CIE-LCHlch(37.64, 81.94, 308.77°)
OKLaboklab(48.51% 0.0814 -0.183)
OKLCHoklch(48.51% 0.2 294)
XYZxyz(17.1419, 9.8850, 52.0333)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39C2 #91C239
analogous
#394CC2 #6A39C2 #AF39C2
triadic
#6A39C2 #C26A39 #39C26A
tetradic
#6A39C2 #C2394C #91C239 #39C2AF
square
#6A39C2 #C2394C #91C239 #39C2AF
split-complementary
#6A39C2 #C2AF39 #4CC239
monochromatic
#361D63 #502B93 #6A39C2 #8D66D2 #B095E0

Accessibility & contrast

On white

7.05
#6A39C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#6A39C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A39C2
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39C2#FFFFFF#000000##FFFFFF
##6A39C21.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#515C7A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a39c2;
/* rgb */ color: rgb(106, 57, 194);
/* oklch */ color: oklch(48.5% 0.200 294.0);
Tailwind
colors: {
  custom: {
    50: '#9c73d5',
    500: '#6a39c2',
    950: '#000000',
  },
}
SCSS
$custom: #6a39c2;
$custom-light: #9c73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39c2",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 194
  },
  "hsl": {
    "h": 261.46,
    "s": 54.582,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48507,
    "c": 0.20025,
    "h": 294
  },
  "luminance": 0.09885
}

Semantic roles & 50–950 ramp

primary
#6A39C2
secondary
#B4CB8B
accent
#DE4AA9
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A39C2

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

Preview Lab → · Contrast checker → · Palette generator →

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