#6F36B8#6F36B8

#6F36B8 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 47.9% C 0.193 H 298.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#6F36B8
RGBrgb(111, 54, 184)
HSLhsl(266, 55%, 47%)
HSVhsv(266, 71%, 72%)
CMYKcmyk(39.7%, 70.7%, 0%, 27.8%)
CIE-LABlab(36.89, 51.09, -59.20)
CIE-LCHlch(36.89, 78.20, 310.79°)
OKLaboklab(47.86% 0.0933 -0.169)
OKLCHoklch(47.86% 0.193 298.9)
XYZxyz(16.5243, 9.4783, 46.2970)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F36B8 #7FB836
analogous
#363EB8 #6F36B8 #B036B8
triadic
#6F36B8 #B86F36 #36B86F
tetradic
#6F36B8 #B8363E #7FB836 #36B8B0
square
#6F36B8 #B8363E #7FB836 #36B8B0
split-complementary
#6F36B8 #B8B036 #3EB836
monochromatic
#361A59 #522889 #6F36B8 #8F5CCF #AF8BDD

Accessibility & contrast

On white

7.25
#6F36B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6F36B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F36B8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F36B8#FFFFFF#000000##FFFFFF
##6F36B81.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#5E5673
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6f36b8;
/* rgb */ color: rgb(111, 54, 184);
/* oklch */ color: oklch(47.9% 0.193 298.9);
Tailwind
colors: {
  custom: {
    50: '#9e72ce',
    500: '#6f36b8',
    950: '#000000',
  },
}
SCSS
$custom: #6f36b8;
$custom-light: #9e72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f36b8",
  "rgb": {
    "r": 111,
    "g": 54,
    "b": 184
  },
  "hsl": {
    "h": 266.308,
    "s": 54.622,
    "l": 46.667
  },
  "oklch": {
    "l": 0.47859,
    "c": 0.19305,
    "h": 298.9
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#6F36B8
secondary
#A9C782
accent
#DE4A9D
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F36B8

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

Preview Lab → · Contrast checker → · Palette generator →

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