#6A37BE#6A37BE

#6A37BE is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.198 H 295.1°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#6A37BE
RGBrgb(106, 55, 190)
HSLhsl(263, 55%, 48%)
HSVhsv(263, 71%, 75%)
CMYKcmyk(44.2%, 71.1%, 0%, 25.5%)
CIE-LABlab(36.96, 51.24, -62.65)
CIE-LCHlch(36.96, 80.94, 309.28°)
OKLaboklab(47.92% 0.0841 -0.1793)
OKLCHoklch(47.92% 0.198 295.1)
XYZxyz(16.6018, 9.5138, 49.6669)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A37BE #8BBE37
analogous
#3747BE #6A37BE #AD37BE
triadic
#6A37BE #BE6A37 #37BE6A
tetradic
#6A37BE #BE3747 #8BBE37 #37BEAD
square
#6A37BE #BE3747 #8BBE37 #37BEAD
split-complementary
#6A37BE #BEAD37 #47BE37
monochromatic
#351C5F #50298F #6A37BE #8B61D1 #AE90DF

Accessibility & contrast

On white

7.23
#6A37BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6A37BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A37BE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A37BE#FFFFFF#000000##FFFFFF
##6A37BE1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a37be;
/* rgb */ color: rgb(106, 55, 190);
/* oklch */ color: oklch(47.9% 0.198 295.1);
Tailwind
colors: {
  custom: {
    50: '#9c72d3',
    500: '#6a37be',
    950: '#000000',
  },
}
SCSS
$custom: #6a37be;
$custom-light: #9c72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a37be",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 190
  },
  "hsl": {
    "h": 262.667,
    "s": 55.102,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47923,
    "c": 0.19804,
    "h": 295.1
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#6A37BE
secondary
#B1CA87
accent
#DE49A6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6A37BE

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

Preview Lab → · Contrast checker → · Palette generator →

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