#6A39BF#6A39BF

#6A39BF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.3% C 0.197 H 294.6°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6A39BF
RGBrgb(106, 57, 191)
HSLhsl(262, 54%, 49%)
HSVhsv(262, 70%, 75%)
CMYKcmyk(44.5%, 70.2%, 0%, 25.1%)
CIE-LABlab(37.39, 50.51, -62.53)
CIE-LCHlch(37.39, 80.38, 308.93°)
OKLaboklab(48.26% 0.082 -0.179)
OKLCHoklch(48.26% 0.197 294.6)
XYZxyz(16.8084, 9.7516, 50.2768)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39BF #8EBF39
analogous
#394BBF #6A39BF #AD39BF
triadic
#6A39BF #BF6A39 #39BF6A
tetradic
#6A39BF #BF394B #8EBF39 #39BFAD
square
#6A39BF #BF394B #8EBF39 #39BFAD
split-complementary
#6A39BF #BFAD39 #4BBF39
monochromatic
#361D61 #502B90 #6A39BF #8C64D1 #AF93DF

Accessibility & contrast

On white

7.12
#6A39BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6A39BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A39BF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39BF#FFFFFF#000000##FFFFFF
##6A39BF1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#525B78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6a39bf;
/* rgb */ color: rgb(106, 57, 191);
/* oklch */ color: oklch(48.3% 0.197 294.6);
Tailwind
colors: {
  custom: {
    50: '#9c73d3',
    500: '#6a39bf',
    950: '#000000',
  },
}
SCSS
$custom: #6a39bf;
$custom-light: #9c73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39bf",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 261.94,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48259,
    "c": 0.19683,
    "h": 294.6
  },
  "luminance": 0.09752
}

Semantic roles & 50–950 ramp

primary
#6A39BF
secondary
#B3CA8A
accent
#DD4AA8
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A39BF

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

Preview Lab → · Contrast checker → · Palette generator →

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