#6939CD#6939CD

#6939CD is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.213 H 291.4°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6939CD
RGBrgb(105, 57, 205)
HSLhsl(259, 60%, 51%)
HSVhsv(259, 72%, 80%)
CMYKcmyk(48.8%, 72.2%, 0%, 19.6%)
CIE-LABlab(38.44, 54.09, -68.98)
CIE-LCHlch(38.44, 87.66, 308.10°)
OKLaboklab(49.34% 0.0777 -0.1979)
OKLCHoklch(49.34% 0.213 291.4)
XYZxyz(18.3052, 10.3366, 58.7764)
Luminance0.1034 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939CD #9DCD39
analogous
#3953CD #6939CD #B339CD
triadic
#6939CD #CD6939 #39CD69
tetradic
#6939CD #CD3953 #9DCD39 #39CDB3
square
#6939CD #CD3953 #9DCD39 #39CDB3
split-complementary
#6939CD #CDB339 #53CD39
monochromatic
#371C6F #4F28A0 #6939CD #8E6AD9 #B39BE6

Accessibility & contrast

On white

6.85
#6939CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6939CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6939CD
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939CD#FFFFFF#000000##FFFFFF
##6939CD1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0057CA
Tritanopia (blue-blind)
#486080
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6939cd;
/* rgb */ color: rgb(105, 57, 205);
/* oklch */ color: oklch(49.3% 0.213 291.4);
Tailwind
colors: {
  custom: {
    50: '#9d74dd',
    500: '#6939cd',
    950: '#000000',
  },
}
SCSS
$custom: #6939cd;
$custom-light: #9d74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6939cd",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 205
  },
  "hsl": {
    "h": 259.459,
    "s": 59.677,
    "l": 51.373
  },
  "oklch": {
    "l": 0.49335,
    "c": 0.21265,
    "h": 291.4
  },
  "luminance": 0.10337
}

Semantic roles & 50–950 ramp

primary
#6939CD
secondary
#BCD290
accent
#E345B0
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6939CD

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

Preview Lab → · Contrast checker → · Palette generator →

#6939CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva