#6B39CA#6B39CA

#6B39CA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.209 H 292.8°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6B39CA
RGBrgb(107, 57, 202)
HSLhsl(261, 58%, 51%)
HSVhsv(261, 72%, 79%)
CMYKcmyk(47%, 71.8%, 0%, 20.8%)
CIE-LABlab(38.40, 53.61, -67.29)
CIE-LCHlch(38.40, 86.04, 308.54°)
OKLaboklab(49.28% 0.0812 -0.1929)
OKLCHoklch(49.28% 0.209 292.8)
XYZxyz(18.1842, 10.3157, 56.8987)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B39CA #98CA39
analogous
#394FCA #6B39CA #B439CA
triadic
#6B39CA #CA6B39 #39CA6B
tetradic
#6B39CA #CA394F #98CA39 #39CAB4
square
#6B39CA #CA394F #98CA39 #39CAB4
split-complementary
#6B39CA #CAB439 #4FCA39
monochromatic
#381D6C #512A9C #6B39CA #8F69D7 #B39AE4

Accessibility & contrast

On white

6.86
#6B39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6B39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B39CA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B39CA#FFFFFF#000000##FFFFFF
##6B39CA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#4E5F7E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6b39ca;
/* rgb */ color: rgb(107, 57, 202);
/* oklch */ color: oklch(49.3% 0.209 292.8);
Tailwind
colors: {
  custom: {
    50: '#9e74db',
    500: '#6b39ca',
    950: '#000000',
  },
}
SCSS
$custom: #6b39ca;
$custom-light: #9e74db;
$custom-dark: #000000;
JSON
{
  "hex": "#6b39ca",
  "rgb": {
    "r": 107,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 260.69,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49281,
    "c": 0.20932,
    "h": 292.8
  },
  "luminance": 0.10316
}

Semantic roles & 50–950 ramp

primary
#6B39CA
secondary
#B9D08F
accent
#E147AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6B39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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