#6F37BE#6F37BE

#6F37BE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.199 H 297.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#6F37BE
RGBrgb(111, 55, 190)
HSLhsl(265, 55%, 48%)
HSVhsv(265, 71%, 75%)
CMYKcmyk(41.6%, 71.1%, 0%, 25.5%)
CIE-LABlab(37.53, 52.14, -61.69)
CIE-LCHlch(37.53, 80.77, 310.20°)
OKLaboklab(48.47% 0.0912 -0.1763)
OKLCHoklch(48.47% 0.199 297.4)
XYZxyz(17.2136, 9.8293, 49.6955)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F37BE #86BE37
analogous
#3742BE #6F37BE #B237BE
triadic
#6F37BE #BE6F37 #37BE6F
tetradic
#6F37BE #BE3742 #86BE37 #37BEB2
square
#6F37BE #BE3742 #86BE37 #37BEB2
split-complementary
#6F37BE #BEB237 #42BE37
monochromatic
#381C5F #53298F #6F37BE #9061D1 #B190DF

Accessibility & contrast

On white

7.08
#6F37BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#6F37BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F37BE
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F37BE#FFFFFF#000000##FFFFFF
##6F37BE1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C2
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#5B5977
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6f37be;
/* rgb */ color: rgb(111, 55, 190);
/* oklch */ color: oklch(48.5% 0.199 297.4);
Tailwind
colors: {
  custom: {
    50: '#9f72d3',
    500: '#6f37be',
    950: '#000000',
  },
}
SCSS
$custom: #6f37be;
$custom-light: #9f72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f37be",
  "rgb": {
    "r": 111,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 264.889,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48465,
    "c": 0.1985,
    "h": 297.4
  },
  "luminance": 0.0983
}

Semantic roles & 50–950 ramp

primary
#6F37BE
secondary
#AECA87
accent
#DE49A1
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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