#6F36CA#6F36CA

#6F36CA is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.213 H 294.9°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#6F36CA
RGBrgb(111, 54, 202)
HSLhsl(263, 58%, 50%)
HSVhsv(263, 73%, 79%)
CMYKcmyk(45%, 73.3%, 0%, 20.8%)
CIE-LABlab(38.34, 55.70, -67.37)
CIE-LCHlch(38.34, 87.42, 309.58°)
OKLaboklab(49.34% 0.0896 -0.193)
OKLCHoklch(49.34% 0.213 294.9)
XYZxyz(18.5325, 10.2816, 56.8738)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F36CA #91CA36
analogous
#3647CA #6F36CA #B936CA
triadic
#6F36CA #CA6F36 #36CA6F
tetradic
#6F36CA #CA3647 #91CA36 #36CAB9
square
#6F36CA #CA3647 #91CA36 #36CAB9
split-complementary
#6F36CA #CAB936 #47CA36
monochromatic
#3A1C6A #54299A #6F36CA #9266D7 #B497E4

Accessibility & contrast

On white

6.87
#6F36CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #6F36CA
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F36CA#FFFFFF#000000##FFFFFF
##6F36CA1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f36ca;
/* rgb */ color: rgb(111, 54, 202);
/* oklch */ color: oklch(49.3% 0.213 294.9);
Tailwind
colors: {
  custom: {
    50: '#a072db',
    500: '#6f36ca',
    950: '#000000',
  },
}
SCSS
$custom: #6f36ca;
$custom-light: #a072db;
$custom-dark: #000000;
JSON
{
  "hex": "#6f36ca",
  "rgb": {
    "r": 111,
    "g": 54,
    "b": 202
  },
  "hsl": {
    "h": 263.108,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49341,
    "c": 0.2128,
    "h": 294.9
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F36CA

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

Preview Lab → · Contrast checker → · Palette generator →

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