#6F37B7#6F37B7

#6F37B7 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.191 H 299.0°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6F37B7
RGBrgb(111, 55, 183)
HSLhsl(266, 54%, 47%)
HSVhsv(266, 70%, 72%)
CMYKcmyk(39.3%, 69.9%, 0%, 28.2%)
CIE-LABlab(36.99, 50.35, -58.46)
CIE-LCHlch(36.99, 77.15, 310.74°)
OKLaboklab(47.9% 0.0925 -0.1668)
OKLCHoklch(47.9% 0.191 299)
XYZxyz(16.4668, 9.5306, 45.7626)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F37B7 #7FB737
analogous
#373FB7 #6F37B7 #AF37B7
triadic
#6F37B7 #B76F37 #37B76F
tetradic
#6F37B7 #B7373F #7FB737 #37B7AF
square
#6F37B7 #B7373F #7FB737 #37B7AF
split-complementary
#6F37B7 #B7AF37 #3FB737
monochromatic
#361B59 #522988 #6F37B7 #8F5DCE #AF8CDC

Accessibility & contrast

On white

7.23
#6F37B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6F37B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F37B7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F37B7#FFFFFF#000000##FFFFFF
##6F37B71.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#5E5673
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f37b7;
/* rgb */ color: rgb(111, 55, 183);
/* oklch */ color: oklch(47.9% 0.191 299.0);
Tailwind
colors: {
  custom: {
    50: '#9e72cd',
    500: '#6f37b7',
    950: '#000000',
  },
}
SCSS
$custom: #6f37b7;
$custom-light: #9e72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f37b7",
  "rgb": {
    "r": 111,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 266.25,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47904,
    "c": 0.19072,
    "h": 299
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#6F37B7
secondary
#A9C783
accent
#DD4B9D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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