#6B37C2#6B37C2

#6B37C2 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.4% C 0.203 H 294.7°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#6B37C2
RGBrgb(107, 55, 194)
HSLhsl(262, 56%, 49%)
HSVhsv(262, 72%, 76%)
CMYKcmyk(44.8%, 71.6%, 0%, 23.9%)
CIE-LABlab(37.40, 52.47, -64.28)
CIE-LCHlch(37.40, 82.97, 309.22°)
OKLaboklab(48.36% 0.0847 -0.184)
OKLCHoklch(48.36% 0.203 294.7)
XYZxyz(17.1646, 9.7528, 52.0066)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B37C2 #8EC237
analogous
#3749C2 #6B37C2 #B137C2
triadic
#6B37C2 #C26B37 #37C26B
tetradic
#6B37C2 #C23749 #8EC237 #37C2B1
square
#6B37C2 #C23749 #8EC237 #37C2B1
split-complementary
#6B37C2 #C2B137 #49C237
monochromatic
#361C63 #512992 #6B37C2 #8D63D3 #B093E0

Accessibility & contrast

On white

7.12
#6B37C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#6B37C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B37C2
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B37C2#FFFFFF#000000##FFFFFF
##6B37C21.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#0056BF
Tritanopia (blue-blind)
#525B79
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #6b37c2;
/* rgb */ color: rgb(107, 55, 194);
/* oklch */ color: oklch(48.4% 0.203 294.7);
Tailwind
colors: {
  custom: {
    50: '#9d72d5',
    500: '#6b37c2',
    950: '#000000',
  },
}
SCSS
$custom: #6b37c2;
$custom-light: #9d72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6b37c2",
  "rgb": {
    "r": 107,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 262.446,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48362,
    "c": 0.2026,
    "h": 294.7
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#6B37C2
secondary
#B3CB89
accent
#DF49A7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6B37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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