#6F37B9#6F37B9

#6F37B9 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.193 H 298.5°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#6F37B9
RGBrgb(111, 55, 185)
HSLhsl(266, 54%, 47%)
HSVhsv(266, 70%, 73%)
CMYKcmyk(40%, 70.3%, 0%, 27.5%)
CIE-LABlab(37.14, 50.86, -59.38)
CIE-LCHlch(37.14, 78.19, 310.58°)
OKLaboklab(48.06% 0.0921 -0.1695)
OKLCHoklch(48.06% 0.193 298.5)
XYZxyz(16.6765, 9.6144, 46.8667)
Luminance0.0961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F37B9 #81B937
analogous
#3740B9 #6F37B9 #B037B9
triadic
#6F37B9 #B96F37 #37B96F
tetradic
#6F37B9 #B93740 #81B937 #37B9B0
square
#6F37B9 #B93740 #81B937 #37B9B0
split-complementary
#6F37B9 #B9B037 #40B937
monochromatic
#361B5B #53298A #6F37B9 #8F5ECF #B08DDD

Accessibility & contrast

On white

7.18
#6F37B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6F37B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F37B9
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F37B9#FFFFFF#000000##FFFFFF
##6F37B91.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#0056B6
Tritanopia (blue-blind)
#5D5774
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f37b9;
/* rgb */ color: rgb(111, 55, 185);
/* oklch */ color: oklch(48.1% 0.193 298.5);
Tailwind
colors: {
  custom: {
    50: '#9e72cf',
    500: '#6f37b9',
    950: '#000000',
  },
}
SCSS
$custom: #6f37b9;
$custom-light: #9e72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f37b9",
  "rgb": {
    "r": 111,
    "g": 55,
    "b": 185
  },
  "hsl": {
    "h": 265.846,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48063,
    "c": 0.19295,
    "h": 298.5
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#6F37B9
secondary
#ABC884
accent
#DE4A9E
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F37B9

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

Preview Lab → · Contrast checker → · Palette generator →

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