#6B37AF#6B37AF

#6B37AF is a mid, vivid violet. Relative luminance 0.090; OKLCH L 46.8% C 0.181 H 299.1°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#6B37AF
RGBrgb(107, 55, 175)
HSLhsl(266, 52%, 45%)
HSVhsv(266, 69%, 69%)
CMYKcmyk(38.9%, 68.6%, 0%, 31.4%)
CIE-LABlab(35.89, 47.51, -55.51)
CIE-LCHlch(35.89, 73.07, 310.56°)
OKLaboklab(46.83% 0.0881 -0.1583)
OKLCHoklch(46.83% 0.181 299.1)
XYZxyz(15.1655, 8.9531, 41.4783)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B37AF #7BAF37
analogous
#373FAF #6B37AF #A737AF
triadic
#6B37AF #AF6B37 #37AF6B
tetradic
#6B37AF #AF373F #7BAF37 #37AFA7
square
#6B37AF #AF373F #7BAF37 #37AFA7
split-complementary
#6B37AF #AFA737 #3FAF37
monochromatic
#321A52 #4F2880 #6B37AF #8A59CB #AB87D9

Accessibility & contrast

On white

7.53
#6B37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6B37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B37AF
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B37AF#FFFFFF#000000##FFFFFF
##6B37AF1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6b37af;
/* rgb */ color: rgb(107, 55, 175);
/* oklch */ color: oklch(46.8% 0.181 299.1);
Tailwind
colors: {
  custom: {
    50: '#9b72c8',
    500: '#6b37af',
    950: '#000000',
  },
}
SCSS
$custom: #6b37af;
$custom-light: #9b72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b37af",
  "rgb": {
    "r": 107,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 266,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46825,
    "c": 0.18113,
    "h": 299.1
  },
  "luminance": 0.08953
}

Semantic roles & 50–950 ramp

primary
#6B37AF
secondary
#A5C37F
accent
#DC4C9D
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0F0813
muted
#7E7B82

Preview Lab

Preview with #6B37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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