#6B37B4#6B37B4

#6B37B4 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.2% C 0.187 H 297.9°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#6B37B4
RGBrgb(107, 55, 180)
HSLhsl(265, 53%, 46%)
HSVhsv(265, 69%, 71%)
CMYKcmyk(40.6%, 69.4%, 0%, 29.4%)
CIE-LABlab(36.28, 48.81, -57.86)
CIE-LCHlch(36.28, 75.69, 310.15°)
OKLaboklab(47.22% 0.0873 -0.1652)
OKLCHoklch(47.22% 0.187 297.9)
XYZxyz(15.6657, 9.1532, 44.1126)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B37B4 #80B437
analogous
#3741B4 #6B37B4 #A937B4
triadic
#6B37B4 #B46B37 #37B46B
tetradic
#6B37B4 #B43741 #80B437 #37B4A9
square
#6B37B4 #B43741 #80B437 #37B4A9
split-complementary
#6B37B4 #B4A937 #41B437
monochromatic
#331A56 #4F2985 #6B37B4 #8B5BCD #AC8ADB

Accessibility & contrast

On white

7.42
#6B37B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6B37B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B37B4
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B37B4#FFFFFF#000000##FFFFFF
##6B37B41.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#595571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b37b4;
/* rgb */ color: rgb(107, 55, 180);
/* oklch */ color: oklch(47.2% 0.187 297.9);
Tailwind
colors: {
  custom: {
    50: '#9b72cb',
    500: '#6b37b4',
    950: '#000000',
  },
}
SCSS
$custom: #6b37b4;
$custom-light: #9b72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6b37b4",
  "rgb": {
    "r": 107,
    "g": 55,
    "b": 180
  },
  "hsl": {
    "h": 264.96,
    "s": 53.191,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47219,
    "c": 0.18682,
    "h": 297.9
  },
  "luminance": 0.09153
}

Semantic roles & 50–950 ramp

primary
#6B37B4
secondary
#A9C681
accent
#DD4BA0
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B37B4

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

Preview Lab → · Contrast checker → · Palette generator →

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