#6D39CA#6D39CA

#6D39CA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.209 H 293.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#6D39CA
RGBrgb(109, 57, 202)
HSLhsl(262, 58%, 51%)
HSVhsv(262, 72%, 79%)
CMYKcmyk(46%, 71.8%, 0%, 20.8%)
CIE-LABlab(38.62, 53.94, -66.93)
CIE-LCHlch(38.62, 85.96, 308.87°)
OKLaboklab(49.49% 0.0841 -0.1918)
OKLCHoklch(49.49% 0.209 293.7)
XYZxyz(18.4275, 10.4412, 56.9101)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D39CA #96CA39
analogous
#394DCA #6D39CA #B539CA
triadic
#6D39CA #CA6D39 #39CA6D
tetradic
#6D39CA #CA394D #96CA39 #39CAB5
square
#6D39CA #CA394D #96CA39 #39CAB5
split-complementary
#6D39CA #CAB539 #4DCA39
monochromatic
#391D6C #532A9C #6D39CA #9169D7 #B49AE4

Accessibility & contrast

On white

6.80
#6D39CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6D39CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D39CA
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D39CA#FFFFFF#000000##FFFFFF
##6D39CA1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#515F7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6d39ca;
/* rgb */ color: rgb(109, 57, 202);
/* oklch */ color: oklch(49.5% 0.209 293.7);
Tailwind
colors: {
  custom: {
    50: '#9f74db',
    500: '#6d39ca',
    950: '#000000',
  },
}
SCSS
$custom: #6d39ca;
$custom-light: #9f74db;
$custom-dark: #000000;
JSON
{
  "hex": "#6d39ca",
  "rgb": {
    "r": 109,
    "g": 57,
    "b": 202
  },
  "hsl": {
    "h": 261.517,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49487,
    "c": 0.2094,
    "h": 293.7
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D39CA

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

Preview Lab → · Contrast checker → · Palette generator →

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