#6A39BC#6A39BC

#6A39BC is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.193 H 295.2°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#6A39BC
RGBrgb(106, 57, 188)
HSLhsl(262, 53%, 48%)
HSVhsv(262, 70%, 74%)
CMYKcmyk(43.6%, 69.7%, 0%, 26.3%)
CIE-LABlab(37.15, 49.71, -61.16)
CIE-LCHlch(37.15, 78.81, 309.11°)
OKLaboklab(48.01% 0.0825 -0.1749)
OKLCHoklch(48.01% 0.193 295.2)
XYZxyz(16.4817, 9.6209, 48.5558)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39BC #8BBC39
analogous
#3949BC #6A39BC #AB39BC
triadic
#6A39BC #BC6A39 #39BC6A
tetradic
#6A39BC #BC3949 #8BBC39 #39BCAB
square
#6A39BC #BC3949 #8BBC39 #39BCAB
split-complementary
#6A39BC #BCAB39 #49BC39
monochromatic
#351D5E #502B8D #6A39BC #8B63D0 #AE92DE

Accessibility & contrast

On white

7.18
#6A39BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6A39BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A39BC
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39BC#FFFFFF#000000##FFFFFF
##6A39BC1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0055B9
Tritanopia (blue-blind)
#545976
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a39bc;
/* rgb */ color: rgb(106, 57, 188);
/* oklch */ color: oklch(48.0% 0.193 295.2);
Tailwind
colors: {
  custom: {
    50: '#9b73d1',
    500: '#6a39bc',
    950: '#000000',
  },
}
SCSS
$custom: #6a39bc;
$custom-light: #9b73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39bc",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 188
  },
  "hsl": {
    "h": 262.443,
    "s": 53.469,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48014,
    "c": 0.1934,
    "h": 295.2
  },
  "luminance": 0.09621
}

Semantic roles & 50–950 ramp

primary
#6A39BC
secondary
#B1C988
accent
#DD4BA6
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A39BC

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

Preview Lab → · Contrast checker → · Palette generator →

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