#6F37BA#6F37BA

#6F37BA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.1% C 0.194 H 298.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#6F37BA
RGBrgb(111, 55, 186)
HSLhsl(266, 54%, 47%)
HSVhsv(266, 70%, 73%)
CMYKcmyk(40.3%, 70.4%, 0%, 27.1%)
CIE-LABlab(37.22, 51.11, -59.85)
CIE-LCHlch(37.22, 78.70, 310.50°)
OKLaboklab(48.14% 0.092 -0.1709)
OKLCHoklch(48.14% 0.194 298.3)
XYZxyz(16.7824, 9.6568, 47.4246)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F37BA #82BA37
analogous
#3740BA #6F37BA #B137BA
triadic
#6F37BA #BA6F37 #37BA6F
tetradic
#6F37BA #BA3740 #82BA37 #37BAB1
square
#6F37BA #BA3740 #82BA37 #37BAB1
split-complementary
#6F37BA #BAB137 #40BA37
monochromatic
#371B5C #53298B #6F37BA #8F5FD0 #B08EDE

Accessibility & contrast

On white

7.16
#6F37BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6F37BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F37BA
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F37BA#FFFFFF#000000##FFFFFF
##6F37BA1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#5D5775
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f37ba;
/* rgb */ color: rgb(111, 55, 186);
/* oklch */ color: oklch(48.1% 0.194 298.3);
Tailwind
colors: {
  custom: {
    50: '#9e72d0',
    500: '#6f37ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f37ba;
$custom-light: #9e72d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f37ba",
  "rgb": {
    "r": 111,
    "g": 55,
    "b": 186
  },
  "hsl": {
    "h": 265.649,
    "s": 54.357,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48143,
    "c": 0.19407,
    "h": 298.3
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#6F37BA
secondary
#ABC885
accent
#DE4A9F
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F37BA

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

Preview Lab → · Contrast checker → · Palette generator →

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