#6939B4#6939B4

#6939B4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.184 H 296.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6939B4
RGBrgb(105, 57, 180)
HSLhsl(263, 52%, 46%)
HSVhsv(263, 68%, 71%)
CMYKcmyk(41.7%, 68.3%, 0%, 29.4%)
CIE-LABlab(36.41, 47.40, -57.65)
CIE-LCHlch(36.41, 74.63, 309.43°)
OKLaboklab(47.26% 0.0824 -0.1646)
OKLCHoklch(47.26% 0.184 296.6)
XYZxyz(15.5249, 9.2245, 44.1337)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6939B4 #84B439
analogous
#3946B4 #6939B4 #A739B4
triadic
#6939B4 #B46939 #39B469
tetradic
#6939B4 #B43946 #84B439 #39B4A7
square
#6939B4 #B43946 #84B439 #39B4A7
split-complementary
#6939B4 #B4A739 #46B439
monochromatic
#331C57 #4E2A86 #6939B4 #895ECC #AB8DDB

Accessibility & contrast

On white

7.38
#6939B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6939B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6939B4
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6939B4#FFFFFF#000000##FFFFFF
##6939B41.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#565772
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6939b4;
/* rgb */ color: rgb(105, 57, 180);
/* oklch */ color: oklch(47.3% 0.184 296.6);
Tailwind
colors: {
  custom: {
    50: '#9a73cb',
    500: '#6939b4',
    950: '#000000',
  },
}
SCSS
$custom: #6939b4;
$custom-light: #9a73cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6939b4",
  "rgb": {
    "r": 105,
    "g": 57,
    "b": 180
  },
  "hsl": {
    "h": 263.415,
    "s": 51.899,
    "l": 46.471
  },
  "oklch": {
    "l": 0.47263,
    "c": 0.1841,
    "h": 296.6
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#6939B4
secondary
#ACC583
accent
#DB4CA4
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6939B4

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

Preview Lab → · Contrast checker → · Palette generator →

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