#6B37B7#6B37B7

#6B37B7 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.5% C 0.190 H 297.1°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#6B37B7
RGBrgb(107, 55, 183)
HSLhsl(264, 54%, 47%)
HSVhsv(264, 70%, 72%)
CMYKcmyk(41.5%, 69.9%, 0%, 28.2%)
CIE-LABlab(36.51, 49.59, -59.25)
CIE-LCHlch(36.51, 77.26, 309.93°)
OKLaboklab(47.46% 0.0868 -0.1693)
OKLCHoklch(47.46% 0.19 297.1)
XYZxyz(15.9746, 9.2768, 45.7395)
Luminance0.0928 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B37B7 #83B737
analogous
#3743B7 #6B37B7 #AB37B7
triadic
#6B37B7 #B76B37 #37B76B
tetradic
#6B37B7 #B73743 #83B737 #37B7AB
square
#6B37B7 #B73743 #83B737 #37B7AB
split-complementary
#6B37B7 #B7AB37 #43B737
monochromatic
#341B59 #4F2988 #6B37B7 #8B5DCE #AD8CDC

Accessibility & contrast

On white

7.35
#6B37B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6B37B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B37B7
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B37B7#FFFFFF#000000##FFFFFF
##6B37B71.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0054B4
Tritanopia (blue-blind)
#585673
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6b37b7;
/* rgb */ color: rgb(107, 55, 183);
/* oklch */ color: oklch(47.5% 0.190 297.1);
Tailwind
colors: {
  custom: {
    50: '#9c72cd',
    500: '#6b37b7',
    950: '#000000',
  },
}
SCSS
$custom: #6b37b7;
$custom-light: #9c72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6b37b7",
  "rgb": {
    "r": 107,
    "g": 55,
    "b": 183
  },
  "hsl": {
    "h": 264.375,
    "s": 53.782,
    "l": 46.667
  },
  "oklch": {
    "l": 0.4746,
    "c": 0.19022,
    "h": 297.1
  },
  "luminance": 0.09277
}

Semantic roles & 50–950 ramp

primary
#6B37B7
secondary
#ABC783
accent
#DD4BA2
background
#FAF7FC
surface
#F3EDF9
border
#CDC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6B37B7

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

Preview Lab → · Contrast checker → · Palette generator →

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