#6A37BF#6A37BF

#6A37BF is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.199 H 294.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#6A37BF
RGBrgb(106, 55, 191)
HSLhsl(263, 55%, 48%)
HSVhsv(263, 71%, 75%)
CMYKcmyk(44.5%, 71.2%, 0%, 25.1%)
CIE-LABlab(37.04, 51.50, -63.11)
CIE-LCHlch(37.04, 81.46, 309.22°)
OKLaboklab(48.01% 0.0839 -0.1807)
OKLCHoklch(48.01% 0.199 294.9)
XYZxyz(16.7115, 9.5577, 50.2444)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A37BF #8CBF37
analogous
#3748BF #6A37BF #AE37BF
triadic
#6A37BF #BF6A37 #37BF6A
tetradic
#6A37BF #BF3748 #8CBF37 #37BFAE
square
#6A37BF #BF3748 #8CBF37 #37BFAE
split-complementary
#6A37BF #BFAE37 #48BF37
monochromatic
#351C60 #50298F #6A37BF #8C62D2 #AE91DF

Accessibility & contrast

On white

7.21
#6A37BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6A37BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A37BF
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A37BF#FFFFFF#000000##FFFFFF
##6A37BF1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0055BC
Tritanopia (blue-blind)
#525A77
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6a37bf;
/* rgb */ color: rgb(106, 55, 191);
/* oklch */ color: oklch(48.0% 0.199 294.9);
Tailwind
colors: {
  custom: {
    50: '#9c72d3',
    500: '#6a37bf',
    950: '#000000',
  },
}
SCSS
$custom: #6a37bf;
$custom-light: #9c72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a37bf",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 191
  },
  "hsl": {
    "h": 262.5,
    "s": 55.285,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48006,
    "c": 0.19917,
    "h": 294.9
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6A37BF

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

Preview Lab → · Contrast checker → · Palette generator →

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