#6939BF#6939BF

#6939BF is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.2% C 0.197 H 294.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6939BF
RGBrgb(105, 57, 191)
HSLhsl(261, 54%, 49%)
HSVhsv(261, 70%, 75%)
CMYKcmyk(45%, 70.2%, 0%, 25.1%)
CIE-LABlab(37.28, 50.33, -62.71)
CIE-LCHlch(37.28, 80.41, 308.75°)
OKLaboklab(48.16% 0.0805 -0.1795)
OKLCHoklch(48.16% 0.197 294.2)
XYZxyz(16.6902, 9.6906, 50.2712)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939BF #8FBF39
analogous
#394CBF #6939BF #AC39BF
triadic
#6939BF #BF6939 #39BF69
tetradic
#6939BF #BF394C #8FBF39 #39BFAC
square
#6939BF #BF394C #8FBF39 #39BFAC
split-complementary
#6939BF #BFAC39 #4CBF39
monochromatic
#351D61 #4F2B90 #6939BF #8B64D1 #AF93DF

Accessibility & contrast

On white

7.15
#6939BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6939BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6939BF
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939BF#FFFFFF#000000##FFFFFF
##6939BF1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#505B78
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6939bf;
/* rgb */ color: rgb(105, 57, 191);
/* oklch */ color: oklch(48.2% 0.197 294.2);
Tailwind
colors: {
  custom: {
    50: '#9b73d3',
    500: '#6939bf',
    950: '#000000',
  },
}
SCSS
$custom: #6939bf;
$custom-light: #9b73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6939bf",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 191
  },
  "hsl": {
    "h": 261.493,
    "s": 54.032,
    "l": 48.627
  },
  "oklch": {
    "l": 0.48155,
    "c": 0.19677,
    "h": 294.2
  },
  "luminance": 0.09691
}

Semantic roles & 50–950 ramp

primary
#6939BF
secondary
#B3CA8A
accent
#DD4AA9
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6939BF

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

Preview Lab → · Contrast checker → · Palette generator →

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