#6E37CA#6E37CA

#6E37CA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.4% C 0.212 H 294.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#6E37CA
RGBrgb(110, 55, 202)
HSLhsl(262, 58%, 50%)
HSVhsv(262, 73%, 79%)
CMYKcmyk(45.5%, 72.8%, 0%, 20.8%)
CIE-LABlab(38.40, 55.07, -67.29)
CIE-LCHlch(38.40, 86.95, 309.29°)
OKLaboklab(49.35% 0.0873 -0.1928)
OKLCHoklch(49.35% 0.212 294.4)
XYZxyz(18.4544, 10.3111, 56.8836)
Luminance0.1031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6E37CA #93CA37
analogous
#3749CA #6E37CA #B837CA
triadic
#6E37CA #CA6E37 #37CA6E
tetradic
#6E37CA #CA3749 #93CA37 #37CAB8
square
#6E37CA #CA3749 #93CA37 #37CAB8
split-complementary
#6E37CA #CAB837 #49CA37
monochromatic
#391C6A #54299B #6E37CA #9167D7 #B498E4

Accessibility & contrast

On white

6.86
#6E37CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#6E37CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6E37CA
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6E37CA#FFFFFF#000000##FFFFFF
##6E37CA1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#535D7D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6e37ca;
/* rgb */ color: rgb(110, 55, 202);
/* oklch */ color: oklch(49.4% 0.212 294.4);
Tailwind
colors: {
  custom: {
    50: '#a073db',
    500: '#6e37ca',
    950: '#000000',
  },
}
SCSS
$custom: #6e37ca;
$custom-light: #a073db;
$custom-dark: #000000;
JSON
{
  "hex": "#6e37ca",
  "rgb": {
    "r": 110,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 262.449,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49352,
    "c": 0.21165,
    "h": 294.4
  },
  "luminance": 0.10312
}

Semantic roles & 50–950 ramp

primary
#6E37CA
secondary
#B7CF8E
accent
#E146A7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6E37CA

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

Preview Lab → · Contrast checker → · Palette generator →

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