#6937AF#6937AF

#6937AF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.6% C 0.181 H 298.1°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6937AF
RGBrgb(105, 55, 175)
HSLhsl(265, 52%, 45%)
HSVhsv(265, 69%, 69%)
CMYKcmyk(40%, 68.6%, 0%, 31.4%)
CIE-LABlab(35.66, 47.11, -55.91)
CIE-LCHlch(35.66, 73.11, 310.12°)
OKLaboklab(46.6% 0.0852 -0.1595)
OKLCHoklch(46.6% 0.181 298.1)
XYZxyz(14.9278, 8.8306, 41.4671)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6937AF #7DAF37
analogous
#3741AF #6937AF #A537AF
triadic
#6937AF #AF6937 #37AF69
tetradic
#6937AF #AF3741 #7DAF37 #37AFA5
square
#6937AF #AF3741 #7DAF37 #37AFA5
split-complementary
#6937AF #AFA537 #41AF37
monochromatic
#311A52 #4D2880 #6937AF #8859CB #A987D9

Accessibility & contrast

On white

7.59
#6937AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6937AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6937AF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6937AF#FFFFFF#000000##FFFFFF
##6937AF1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0053AD
Tritanopia (blue-blind)
#58546E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6937af;
/* rgb */ color: rgb(105, 55, 175);
/* oklch */ color: oklch(46.6% 0.181 298.1);
Tailwind
colors: {
  custom: {
    50: '#9a71c8',
    500: '#6937af',
    950: '#000000',
  },
}
SCSS
$custom: #6937af;
$custom-light: #9a71c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6937af",
  "rgb": {
    "r": 105,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 265,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46601,
    "c": 0.18086,
    "h": 298.1
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#6937AF
secondary
#A7C37F
accent
#DC4CA0
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6937AF

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

Preview Lab → · Contrast checker → · Palette generator →

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