#6F36CD#6F36CD

#6F36CD is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.216 H 294.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6F36CD
RGBrgb(111, 54, 205)
HSLhsl(263, 60%, 51%)
HSVhsv(263, 74%, 80%)
CMYKcmyk(45.9%, 73.7%, 0%, 19.6%)
CIE-LABlab(38.59, 56.47, -68.70)
CIE-LCHlch(38.59, 88.93, 309.42°)
OKLaboklab(49.6% 0.0889 -0.1969)
OKLCHoklch(49.6% 0.216 294.3)
XYZxyz(18.8911, 10.4251, 58.7627)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F36CD #94CD36
analogous
#3648CD #6F36CD #BA36CD
triadic
#6F36CD #CD6F36 #36CD6F
tetradic
#6F36CD #CD3648 #94CD36 #36CDBA
square
#6F36CD #CD3648 #94CD36 #36CDBA
split-complementary
#6F36CD #CDBA36 #48CD36
monochromatic
#3A1B6D #54279E #6F36CD #9267D9 #B598E5

Accessibility & contrast

On white

6.81
#6F36CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6F36CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F36CD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F36CD#FFFFFF#000000##FFFFFF
##6F36CD1.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CD1
Deuteranopia (green-blind)
#0058CA
Tritanopia (blue-blind)
#545E7F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6f36cd;
/* rgb */ color: rgb(111, 54, 205);
/* oklch */ color: oklch(49.6% 0.216 294.3);
Tailwind
colors: {
  custom: {
    50: '#a173dd',
    500: '#6f36cd',
    950: '#000000',
  },
}
SCSS
$custom: #6f36cd;
$custom-light: #a173dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f36cd",
  "rgb": {
    "r": 111,
    "g": 54,
    "b": 205
  },
  "hsl": {
    "h": 262.649,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.49596,
    "c": 0.21606,
    "h": 294.3
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#6F36CD
secondary
#B8D18E
accent
#E344A7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F36CD

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

Preview Lab → · Contrast checker → · Palette generator →

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