#6A37C8#6A37C8

#6A37C8 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 48.8% C 0.209 H 293.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#6A37C8
RGBrgb(106, 55, 200)
HSLhsl(261, 57%, 50%)
HSVhsv(261, 73%, 78%)
CMYKcmyk(47%, 72.5%, 0%, 21.6%)
CIE-LABlab(37.78, 53.89, -67.15)
CIE-LCHlch(37.78, 86.10, 308.74°)
OKLaboklab(48.76% 0.082 -0.1925)
OKLCHoklch(48.76% 0.209 293.1)
XYZxyz(17.7325, 9.9661, 55.6217)
Luminance0.0997 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A37C8 #95C837
analogous
#374DC8 #6A37C8 #B237C8
triadic
#6A37C8 #C86A37 #37C86A
tetradic
#6A37C8 #C8374D #95C837 #37C8B2
square
#6A37C8 #C8374D #95C837 #37C8B2
split-complementary
#6A37C8 #C8B237 #4DC837
monochromatic
#371D68 #512A98 #6A37C8 #8E67D5 #B297E2

Accessibility & contrast

On white

7.02
#6A37C8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#6A37C8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A37C8
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A37C8#FFFFFF#000000##FFFFFF
##6A37C81.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#0056C5
Tritanopia (blue-blind)
#4D5D7C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6a37c8;
/* rgb */ color: rgb(106, 55, 200);
/* oklch */ color: oklch(48.8% 0.209 293.1);
Tailwind
colors: {
  custom: {
    50: '#9d72da',
    500: '#6a37c8',
    950: '#000000',
  },
}
SCSS
$custom: #6a37c8;
$custom-light: #9d72da;
$custom-dark: #000000;
JSON
{
  "hex": "#6a37c8",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 200
  },
  "hsl": {
    "h": 261.103,
    "s": 56.863,
    "l": 50
  },
  "oklch": {
    "l": 0.48764,
    "c": 0.20925,
    "h": 293.1
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

primary
#6A37C8
secondary
#B7CE8D
accent
#E048AB
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6A37C8

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

Preview Lab → · Contrast checker → · Palette generator →

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