#6B39C8#6B39C8

#6B39C8 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.1% C 0.207 H 293.2°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6B39C8
RGBrgb(107, 57, 200)
HSLhsl(261, 57%, 50%)
HSVhsv(261, 72%, 78%)
CMYKcmyk(46.5%, 71.5%, 0%, 21.6%)
CIE-LABlab(38.24, 53.08, -66.40)
CIE-LCHlch(38.24, 85.01, 308.64°)
OKLaboklab(49.11% 0.0816 -0.1903)
OKLCHoklch(49.11% 0.207 293.2)
XYZxyz(17.9490, 10.2216, 55.6596)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39C8 #96C839
analogous
#394EC8 #6B39C8 #B239C8
triadic
#6B39C8 #C86B39 #39C86B
tetradic
#6B39C8 #C8394E #96C839 #39C8B2
square
#6B39C8 #C8394E #96C839 #39C8B2
split-complementary
#6B39C8 #C8B239 #4EC839
monochromatic
#381D69 #512B99 #6B39C8 #8F69D5 #B399E3

Accessibility & contrast

On white

6.90
#6B39C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#6B39C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B39C8
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39C8#FFFFFF#000000##FFFFFF
##6B39C81.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0057C5
Tritanopia (blue-blind)
#4F5E7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b39c8;
/* rgb */ color: rgb(107, 57, 200);
/* oklch */ color: oklch(49.1% 0.207 293.2);
Tailwind
colors: {
  custom: {
    50: '#9d74da',
    500: '#6b39c8',
    950: '#000000',
  },
}
SCSS
$custom: #6b39c8;
$custom-light: #9d74da;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39c8",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 200
  },
  "hsl": {
    "h": 260.979,
    "s": 56.522,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49112,
    "c": 0.20708,
    "h": 293.2
  },
  "luminance": 0.10222
}

Semantic roles & 50–950 ramp

primary
#6B39C8
secondary
#B8CE8F
accent
#E048AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B39C8

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

Preview Lab → · Contrast checker → · Palette generator →

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