#6937A4#6937A4

#6937A4 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.8% C 0.168 H 301.0°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#6937A4
RGBrgb(105, 55, 164)
HSLhsl(268, 50%, 43%)
HSVhsv(268, 66%, 64%)
CMYKcmyk(36%, 66.5%, 0%, 35.7%)
CIE-LABlab(34.83, 44.26, -50.66)
CIE-LCHlch(34.83, 67.27, 311.14°)
OKLaboklab(45.75% 0.0866 -0.1441)
OKLCHoklch(45.75% 0.168 301)
XYZxyz(13.8911, 8.4159, 36.0074)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937A4 #72A437
analogous
#373BA4 #6937A4 #9F37A4
triadic
#6937A4 #A46937 #37A469
tetradic
#6937A4 #A4373B #72A437 #37A49F
square
#6937A4 #A4373B #72A437 #37A49F
split-complementary
#6937A4 #A49F37 #3BA437
monochromatic
#2E1848 #4C2876 #6937A4 #8753C5 #A781D5

Accessibility & contrast

On white

7.83
#6937A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6937A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937A4
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937A4#FFFFFF#000000##FFFFFF
##6937A41.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#0051A2
Tritanopia (blue-blind)
#5C5069
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6937a4;
/* rgb */ color: rgb(105, 55, 164);
/* oklch */ color: oklch(45.8% 0.168 301.0);
Tailwind
colors: {
  custom: {
    50: '#9871c0',
    500: '#6937a4',
    950: '#000000',
  },
}
SCSS
$custom: #6937a4;
$custom-light: #9871c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6937a4",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 164
  },
  "hsl": {
    "h": 267.523,
    "s": 49.772,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45753,
    "c": 0.16814,
    "h": 301
  },
  "luminance": 0.08416
}

Semantic roles & 50–950 ramp

primary
#6937A4
secondary
#9EBE79
accent
#D94F9A
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6937A4

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

Preview Lab → · Contrast checker → · Palette generator →

#6937A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva