#6B39B4#6B39B4

#6B39B4 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.184 H 297.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6B39B4
RGBrgb(107, 57, 180)
HSLhsl(264, 52%, 46%)
HSVhsv(264, 68%, 71%)
CMYKcmyk(40.6%, 68.3%, 0%, 29.4%)
CIE-LABlab(36.64, 47.79, -57.26)
CIE-LCHlch(36.64, 74.58, 309.85°)
OKLaboklab(47.48% 0.0852 -0.1634)
OKLCHoklch(47.48% 0.184 297.5)
XYZxyz(15.7626, 9.3471, 44.1449)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39B4 #82B439
analogous
#3945B4 #6B39B4 #A939B4
triadic
#6B39B4 #B46B39 #39B46B
tetradic
#6B39B4 #B43945 #82B439 #39B4A9
square
#6B39B4 #B43945 #82B439 #39B4A9
split-complementary
#6B39B4 #B4A939 #45B439
monochromatic
#341C57 #4F2A86 #6B39B4 #8B5ECC #AC8DDB

Accessibility & contrast

On white

7.32
#6B39B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6B39B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B39B4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39B4#FFFFFF#000000##FFFFFF
##6B39B41.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#0055B1
Tritanopia (blue-blind)
#595672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b39b4;
/* rgb */ color: rgb(107, 57, 180);
/* oklch */ color: oklch(47.5% 0.184 297.5);
Tailwind
colors: {
  custom: {
    50: '#9b73cb',
    500: '#6b39b4',
    950: '#000000',
  },
}
SCSS
$custom: #6b39b4;
$custom-light: #9b73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39b4",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 264.39,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47481,
    "c": 0.18431,
    "h": 297.5
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

primary
#6B39B4
secondary
#ABC583
accent
#DB4CA1
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B39B4

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

Preview Lab → · Contrast checker → · Palette generator →

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