#6F37B3#6F37B3

#6F37B3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.6% C 0.186 H 300.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#6F37B3
RGBrgb(111, 55, 179)
HSLhsl(267, 53%, 46%)
HSVhsv(267, 69%, 70%)
CMYKcmyk(38%, 69.3%, 0%, 29.8%)
CIE-LABlab(36.68, 49.33, -56.59)
CIE-LCHlch(36.68, 75.07, 311.08°)
OKLaboklab(47.59% 0.0931 -0.1613)
OKLCHoklch(47.59% 0.186 300)
XYZxyz(16.0564, 9.3664, 43.6011)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F37B3 #7BB337
analogous
#373DB3 #6F37B3 #AD37B3
triadic
#6F37B3 #B36F37 #37B36F
tetradic
#6F37B3 #B3373D #7BB337 #37B3AD
square
#6F37B3 #B3373D #7BB337 #37B3AD
split-complementary
#6F37B3 #B3AD37 #3DB337
monochromatic
#351A55 #522984 #6F37B3 #8E5BCD #AE8ADB

Accessibility & contrast

On white

7.31
#6F37B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6F37B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F37B3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F37B3#FFFFFF#000000##FFFFFF
##6F37B31.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0055B0
Tritanopia (blue-blind)
#605471
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f37b3;
/* rgb */ color: rgb(111, 55, 179);
/* oklch */ color: oklch(47.6% 0.186 300.0);
Tailwind
colors: {
  custom: {
    50: '#9e72cb',
    500: '#6f37b3',
    950: '#000000',
  },
}
SCSS
$custom: #6f37b3;
$custom-light: #9e72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f37b3",
  "rgb": {
    "r": 111,
    "g": 55,
    "b": 179
  },
  "hsl": {
    "h": 267.097,
    "s": 52.991,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4759,
    "c": 0.18626,
    "h": 300
  },
  "luminance": 0.09367
}

Semantic roles & 50–950 ramp

primary
#6F37B3
secondary
#A6C581
accent
#DC4B9B
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F37B3

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

Preview Lab → · Contrast checker → · Palette generator →

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