#6A39C1#6A39C1

#6A39C1 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.4% C 0.199 H 294.2°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#6A39C1
RGBrgb(106, 57, 193)
HSLhsl(262, 54%, 49%)
HSVhsv(262, 70%, 76%)
CMYKcmyk(45.1%, 70.5%, 0%, 24.3%)
CIE-LABlab(37.55, 51.04, -63.44)
CIE-LCHlch(37.55, 81.42, 308.82°)
OKLaboklab(48.42% 0.0816 -0.1816)
OKLCHoklch(48.42% 0.199 294.2)
XYZxyz(17.0300, 9.8402, 51.4438)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39C1 #90C139
analogous
#394CC1 #6A39C1 #AE39C1
triadic
#6A39C1 #C16A39 #39C16A
tetradic
#6A39C1 #C1394C #90C139 #39C1AE
square
#6A39C1 #C1394C #90C139 #39C1AE
split-complementary
#6A39C1 #C1AE39 #4CC139
monochromatic
#361D63 #502B92 #6A39C1 #8C66D2 #B095E0

Accessibility & contrast

On white

7.07
#6A39C1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6A39C1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A39C1
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39C1#FFFFFF#000000##FFFFFF
##6A39C11.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC5
Deuteranopia (green-blind)
#0056BE
Tritanopia (blue-blind)
#515B79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a39c1;
/* rgb */ color: rgb(106, 57, 193);
/* oklch */ color: oklch(48.4% 0.199 294.2);
Tailwind
colors: {
  custom: {
    50: '#9c73d5',
    500: '#6a39c1',
    950: '#000000',
  },
}
SCSS
$custom: #6a39c1;
$custom-light: #9c73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39c1",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 193
  },
  "hsl": {
    "h": 261.618,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48424,
    "c": 0.19911,
    "h": 294.2
  },
  "luminance": 0.09841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A39C1

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

Preview Lab → · Contrast checker → · Palette generator →

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