#6937B3#6937B3

#6937B3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.9% C 0.185 H 297.1°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#6937B3
RGBrgb(105, 55, 179)
HSLhsl(264, 53%, 46%)
HSVhsv(264, 69%, 70%)
CMYKcmyk(41.3%, 69.3%, 0%, 29.8%)
CIE-LABlab(35.97, 48.16, -57.78)
CIE-LCHlch(35.97, 75.22, 309.81°)
OKLaboklab(46.92% 0.0846 -0.165)
OKLCHoklch(46.92% 0.185 297.1)
XYZxyz(15.3265, 8.9900, 43.5668)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937B3 #81B337
analogous
#3743B3 #6937B3 #A737B3
triadic
#6937B3 #B36937 #37B369
tetradic
#6937B3 #B33743 #81B337 #37B3A7
square
#6937B3 #B33743 #81B337 #37B3A7
split-complementary
#6937B3 #B3A737 #43B337
monochromatic
#321A55 #4E2984 #6937B3 #895BCD #AA8ADB

Accessibility & contrast

On white

7.51
#6937B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#6937B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937B3
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937B3#FFFFFF#000000##FFFFFF
##6937B31.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0053B0
Tritanopia (blue-blind)
#565571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6937b3;
/* rgb */ color: rgb(105, 55, 179);
/* oklch */ color: oklch(46.9% 0.185 297.1);
Tailwind
colors: {
  custom: {
    50: '#9a72cb',
    500: '#6937b3',
    950: '#000000',
  },
}
SCSS
$custom: #6937b3;
$custom-light: #9a72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6937b3",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 264.194,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.46919,
    "c": 0.18546,
    "h": 297.1
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#6937B3
secondary
#AAC581
accent
#DC4BA2
background
#F9F7FC
surface
#F2EDF9
border
#CCC8D2
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6937B3

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

Preview Lab → · Contrast checker → · Palette generator →

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