#6B37D9#6B37D9

#6B37D9 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.3% C 0.228 H 290.4°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#6B37D9
RGBrgb(107, 55, 217)
HSLhsl(259, 68%, 53%)
HSVhsv(259, 75%, 85%)
CMYKcmyk(50.7%, 74.7%, 0%, 14.9%)
CIE-LABlab(39.36, 58.55, -74.40)
CIE-LCHlch(39.36, 94.67, 308.20°)
OKLaboklab(50.35% 0.0794 -0.2137)
OKLCHoklch(50.35% 0.228 290.4)
XYZxyz(19.9504, 10.8671, 66.6785)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B37D9 #A5D937
analogous
#3754D9 #6B37D9 #BC37D9
triadic
#6B37D9 #D96B37 #37D96B
tetradic
#6B37D9 #D93754 #A5D937 #37D9BC
square
#6B37D9 #D93754 #A5D937 #37D9BC
split-complementary
#6B37D9 #D9BC37 #54D937
monochromatic
#39187E #5022B1 #6B37D9 #916AE3 #B79EED

Accessibility & contrast

On white

6.62
#6B37D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6B37D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B37D9
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B37D9#FFFFFF#000000##FFFFFF
##6B37D91.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DE
Deuteranopia (green-blind)
#0059D6
Tritanopia (blue-blind)
#446486
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6b37d9;
/* rgb */ color: rgb(107, 55, 217);
/* oklch */ color: oklch(50.3% 0.228 290.4);
Tailwind
colors: {
  custom: {
    50: '#a073e6',
    500: '#6b37d9',
    950: '#000000',
  },
}
SCSS
$custom: #6b37d9;
$custom-light: #a073e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6b37d9",
  "rgb": {
    "r": 107,
    "g": 55,
    "b": 217
  },
  "hsl": {
    "h": 259.259,
    "s": 68.067,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50348,
    "c": 0.22801,
    "h": 290.4
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#6B37D9
secondary
#C2D993
accent
#EB3DB3
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6B37D9

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

Preview Lab → · Contrast checker → · Palette generator →

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