#6939CC#6939CC

#6939CC is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.2% C 0.212 H 291.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6939CC
RGBrgb(105, 57, 204)
HSLhsl(260, 59%, 51%)
HSVhsv(260, 72%, 80%)
CMYKcmyk(48.5%, 72.1%, 0%, 20%)
CIE-LABlab(38.36, 53.82, -68.54)
CIE-LCHlch(38.36, 87.15, 308.14°)
OKLaboklab(49.25% 0.0779 -0.1966)
OKLCHoklch(49.25% 0.212 291.6)
XYZxyz(18.1848, 10.2885, 58.1428)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939CC #9CCC39
analogous
#3952CC #6939CC #B239CC
triadic
#6939CC #CC6939 #39CC69
tetradic
#6939CC #CC3952 #9CCC39 #39CCB2
square
#6939CC #CC3952 #9CCC39 #39CCB2
split-complementary
#6939CC #CCB239 #52CC39
monochromatic
#371C6E #4F299F #6939CC #8E6AD9 #B39AE5

Accessibility & contrast

On white

6.87
#6939CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6939CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6939CC
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939CC#FFFFFF#000000##FFFFFF
##6939CC1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0057C9
Tritanopia (blue-blind)
#49607F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6939cc;
/* rgb */ color: rgb(105, 57, 204);
/* oklch */ color: oklch(49.2% 0.212 291.6);
Tailwind
colors: {
  custom: {
    50: '#9d74dd',
    500: '#6939cc',
    950: '#000000',
  },
}
SCSS
$custom: #6939cc;
$custom-light: #9d74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6939cc",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 259.592,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49249,
    "c": 0.21152,
    "h": 291.6
  },
  "luminance": 0.10289
}

Semantic roles & 50–950 ramp

primary
#6939CC
secondary
#BCD190
accent
#E246AF
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6939CC

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

Preview Lab → · Contrast checker → · Palette generator →

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