#6F37CA#6F37CA

#6F37CA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.5% C 0.212 H 294.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6F37CA
RGBrgb(111, 55, 202)
HSLhsl(263, 58%, 50%)
HSVhsv(263, 73%, 79%)
CMYKcmyk(45%, 72.8%, 0%, 20.8%)
CIE-LABlab(38.51, 55.23, -67.10)
CIE-LCHlch(38.51, 86.91, 309.46°)
OKLaboklab(49.46% 0.0887 -0.1922)
OKLCHoklch(49.46% 0.212 294.8)
XYZxyz(18.5795, 10.3757, 56.8894)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F37CA #92CA37
analogous
#3748CA #6F37CA #B837CA
triadic
#6F37CA #CA6F37 #37CA6F
tetradic
#6F37CA #CA3748 #92CA37 #37CAB8
square
#6F37CA #CA3748 #92CA37 #37CAB8
split-complementary
#6F37CA #CAB837 #48CA37
monochromatic
#3A1C6A #54299B #6F37CA #9267D7 #B598E4

Accessibility & contrast

On white

6.83
#6F37CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6F37CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F37CA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F37CA#FFFFFF#000000##FFFFFF
##6F37CA1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f37ca;
/* rgb */ color: rgb(111, 55, 202);
/* oklch */ color: oklch(49.5% 0.212 294.8);
Tailwind
colors: {
  custom: {
    50: '#a073db',
    500: '#6f37ca',
    950: '#000000',
  },
}
SCSS
$custom: #6f37ca;
$custom-light: #a073db;
$custom-dark: #000000;
JSON
{
  "hex": "#6f37ca",
  "rgb": {
    "r": 111,
    "g": 55,
    "b": 202
  },
  "hsl": {
    "h": 262.857,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.49457,
    "c": 0.21172,
    "h": 294.8
  },
  "luminance": 0.10376
}

Semantic roles & 50–950 ramp

primary
#6F37CA
secondary
#B6CF8E
accent
#E146A6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F37CA

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

Preview Lab → · Contrast checker → · Palette generator →

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