#6C37BE#6C37BE

#6C37BE is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.198 H 296.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#6C37BE
RGBrgb(108, 55, 190)
HSLhsl(264, 55%, 48%)
HSVhsv(264, 71%, 75%)
CMYKcmyk(43.2%, 71.1%, 0%, 25.5%)
CIE-LABlab(37.18, 51.60, -62.27)
CIE-LCHlch(37.18, 80.87, 309.64°)
OKLaboklab(48.14% 0.0869 -0.1781)
OKLCHoklch(48.14% 0.198 296)
XYZxyz(16.8423, 9.6379, 49.6781)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6C37BE #89BE37
analogous
#3745BE #6C37BE #B037BE
triadic
#6C37BE #BE6C37 #37BE6C
tetradic
#6C37BE #BE3745 #89BE37 #37BEB0
square
#6C37BE #BE3745 #89BE37 #37BEB0
split-complementary
#6C37BE #BEB037 #45BE37
monochromatic
#361C5F #51298F #6C37BE #8D61D1 #AF90DF

Accessibility & contrast

On white

7.17
#6C37BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#6C37BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6C37BE
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6C37BE#FFFFFF#000000##FFFFFF
##6C37BE1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#0056BB
Tritanopia (blue-blind)
#565977
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6c37be;
/* rgb */ color: rgb(108, 55, 190);
/* oklch */ color: oklch(48.1% 0.198 296.0);
Tailwind
colors: {
  custom: {
    50: '#9d72d3',
    500: '#6c37be',
    950: '#000000',
  },
}
SCSS
$custom: #6c37be;
$custom-light: #9d72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6c37be",
  "rgb": {
    "r": 108,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 263.556,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48138,
    "c": 0.19821,
    "h": 296
  },
  "luminance": 0.09638
}

Semantic roles & 50–950 ramp

primary
#6C37BE
secondary
#B0CA87
accent
#DE49A4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6C37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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