#6A37C2#6A37C2

#6A37C2 is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.3% C 0.203 H 294.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#6A37C2
RGBrgb(106, 55, 194)
HSLhsl(262, 56%, 49%)
HSVhsv(262, 72%, 76%)
CMYKcmyk(45.4%, 71.6%, 0%, 23.9%)
CIE-LABlab(37.28, 52.30, -64.47)
CIE-LCHlch(37.28, 83.01, 309.05°)
OKLaboklab(48.26% 0.0833 -0.1846)
OKLCHoklch(48.26% 0.203 294.3)
XYZxyz(17.0450, 9.6911, 52.0010)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A37C2 #8FC237
analogous
#374AC2 #6A37C2 #B037C2
triadic
#6A37C2 #C26A37 #37C26A
tetradic
#6A37C2 #C2374A #8FC237 #37C2B0
square
#6A37C2 #C2374A #8FC237 #37C2B0
split-complementary
#6A37C2 #C2B037 #4AC237
monochromatic
#361C63 #502992 #6A37C2 #8C63D3 #AF93E0

Accessibility & contrast

On white

7.15
#6A37C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#6A37C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A37C2
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A37C2#FFFFFF#000000##FFFFFF
##6A37C21.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6a37c2;
/* rgb */ color: rgb(106, 55, 194);
/* oklch */ color: oklch(48.3% 0.203 294.3);
Tailwind
colors: {
  custom: {
    50: '#9c72d5',
    500: '#6a37c2',
    950: '#000000',
  },
}
SCSS
$custom: #6a37c2;
$custom-light: #9c72d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6a37c2",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 194
  },
  "hsl": {
    "h": 262.014,
    "s": 55.823,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48257,
    "c": 0.20254,
    "h": 294.3
  },
  "luminance": 0.09692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A37C2

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

Preview Lab → · Contrast checker → · Palette generator →

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