#6A39B8#6A39B8

#6A39B8 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.7% C 0.189 H 296.1°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#6A39B8
RGBrgb(106, 57, 184)
HSLhsl(263, 53%, 47%)
HSVhsv(263, 69%, 72%)
CMYKcmyk(42.4%, 69%, 0%, 27.8%)
CIE-LABlab(36.84, 48.65, -59.31)
CIE-LCHlch(36.84, 76.71, 309.36°)
OKLaboklab(47.69% 0.0832 -0.1695)
OKLCHoklch(47.69% 0.189 296.1)
XYZxyz(16.0564, 9.4508, 46.3163)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A39B8 #87B839
analogous
#3947B8 #6A39B8 #AA39B8
triadic
#6A39B8 #B86A39 #39B86A
tetradic
#6A39B8 #B83947 #87B839 #39B8AA
square
#6A39B8 #B83947 #87B839 #39B8AA
split-complementary
#6A39B8 #B8AA39 #47B839
monochromatic
#341C5B #4F2B89 #6A39B8 #8B60CE #AD8FDC

Accessibility & contrast

On white

7.27
#6A39B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#6A39B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A39B8
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A39B8#FFFFFF#000000##FFFFFF
##6A39B81.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0055B5
Tritanopia (blue-blind)
#565874
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a39b8;
/* rgb */ color: rgb(106, 57, 184);
/* oklch */ color: oklch(47.7% 0.189 296.1);
Tailwind
colors: {
  custom: {
    50: '#9b73ce',
    500: '#6a39b8',
    950: '#000000',
  },
}
SCSS
$custom: #6a39b8;
$custom-light: #9b73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6a39b8",
  "rgb": {
    "r": 106,
    "g": 57,
    "b": 184
  },
  "hsl": {
    "h": 263.15,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.47691,
    "c": 0.18881,
    "h": 296.1
  },
  "luminance": 0.09451
}

Semantic roles & 50–950 ramp

primary
#6A39B8
secondary
#AEC786
accent
#DC4CA4
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6A39B8

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

Preview Lab → · Contrast checker → · Palette generator →

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