#6A37AF#6A37AF

#6A37AF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.7% C 0.181 H 298.6°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6A37AF
RGBrgb(106, 55, 175)
HSLhsl(266, 52%, 45%)
HSVhsv(266, 69%, 69%)
CMYKcmyk(39.4%, 68.6%, 0%, 31.4%)
CIE-LABlab(35.77, 47.31, -55.71)
CIE-LCHlch(35.77, 73.09, 310.34°)
OKLaboklab(46.71% 0.0866 -0.1589)
OKLCHoklch(46.71% 0.181 298.6)
XYZxyz(15.0460, 8.8915, 41.4727)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A37AF #7CAF37
analogous
#3740AF #6A37AF #A637AF
triadic
#6A37AF #AF6A37 #37AF6A
tetradic
#6A37AF #AF3740 #7CAF37 #37AFA6
square
#6A37AF #AF3740 #7CAF37 #37AFA6
split-complementary
#6A37AF #AFA637 #40AF37
monochromatic
#321A52 #4E2880 #6A37AF #8959CB #AA87D9

Accessibility & contrast

On white

7.56
#6A37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6A37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A37AF
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A37AF#FFFFFF#000000##FFFFFF
##6A37AF1.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a37af;
/* rgb */ color: rgb(106, 55, 175);
/* oklch */ color: oklch(46.7% 0.181 298.6);
Tailwind
colors: {
  custom: {
    50: '#9a72c8',
    500: '#6a37af',
    950: '#000000',
  },
}
SCSS
$custom: #6a37af;
$custom-light: #9a72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a37af",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 265.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.18099,
    "h": 298.6
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#6A37AF
secondary
#A6C37F
accent
#DC4C9F
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6A37AF

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

Preview Lab → · Contrast checker → · Palette generator →

#6A37AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva