#6B37B2#6B37B2

#6B37B2 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.185 H 298.3°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#6B37B2
RGBrgb(107, 55, 178)
HSLhsl(265, 53%, 46%)
HSVhsv(265, 69%, 70%)
CMYKcmyk(39.9%, 69.1%, 0%, 30.2%)
CIE-LABlab(36.12, 48.29, -56.92)
CIE-LCHlch(36.12, 74.64, 310.31°)
OKLaboklab(47.06% 0.0876 -0.1624)
OKLCHoklch(47.06% 0.185 298.3)
XYZxyz(15.4634, 9.0723, 43.0473)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B37B2 #7EB237
analogous
#3740B2 #6B37B2 #A837B2
triadic
#6B37B2 #B26B37 #37B26B
tetradic
#6B37B2 #B23740 #7EB237 #37B2A8
square
#6B37B2 #B23740 #7EB237 #37B2A8
split-complementary
#6B37B2 #B2A837 #40B237
monochromatic
#331A54 #4F2983 #6B37B2 #8A5ACC #AB89DB

Accessibility & contrast

On white

7.46
#6B37B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6B37B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B37B2
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B37B2#FFFFFF#000000##FFFFFF
##6B37B21.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#5A5570
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6b37b2;
/* rgb */ color: rgb(107, 55, 178);
/* oklch */ color: oklch(47.1% 0.185 298.3);
Tailwind
colors: {
  custom: {
    50: '#9b72ca',
    500: '#6b37b2',
    950: '#000000',
  },
}
SCSS
$custom: #6b37b2;
$custom-light: #9b72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6b37b2",
  "rgb": {
    "r": 107,
    "g": 55,
    "b": 178
  },
  "hsl": {
    "h": 265.366,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47061,
    "c": 0.18455,
    "h": 298.3
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#6B37B2
secondary
#A8C580
accent
#DC4C9F
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6B37B2

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

Preview Lab → · Contrast checker → · Palette generator →

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