#6F36B2#6F36B2

#6F36B2 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.186 H 300.4°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#6F36B2
RGBrgb(111, 54, 178)
HSLhsl(268, 53%, 45%)
HSVhsv(268, 70%, 70%)
CMYKcmyk(37.6%, 69.7%, 0%, 30.2%)
CIE-LABlab(36.43, 49.57, -56.40)
CIE-LCHlch(36.43, 75.09, 311.31°)
OKLaboklab(47.39% 0.0943 -0.1608)
OKLCHoklch(47.39% 0.186 300.4)
XYZxyz(15.9086, 9.2321, 43.0547)
Luminance0.0923 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F36B2 #79B236
analogous
#363BB2 #6F36B2 #AD36B2
triadic
#6F36B2 #B26F36 #36B26F
tetradic
#6F36B2 #B2363B #79B236 #36B2AD
square
#6F36B2 #B2363B #79B236 #36B2AD
split-complementary
#6F36B2 #B2AD36 #3BB236
monochromatic
#341A54 #522883 #6F36B2 #8E59CD #AE88DB

Accessibility & contrast

On white

7.38
#6F36B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#6F36B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F36B2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F36B2#FFFFFF#000000##FFFFFF
##6F36B21.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#605470
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f36b2;
/* rgb */ color: rgb(111, 54, 178);
/* oklch */ color: oklch(47.4% 0.186 300.4);
Tailwind
colors: {
  custom: {
    50: '#9e71ca',
    500: '#6f36b2',
    950: '#000000',
  },
}
SCSS
$custom: #6f36b2;
$custom-light: #9e71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f36b2",
  "rgb": {
    "r": 111,
    "g": 54,
    "b": 178
  },
  "hsl": {
    "h": 267.581,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47386,
    "c": 0.1864,
    "h": 300.4
  },
  "luminance": 0.09232
}

Semantic roles & 50–950 ramp

primary
#6F36B2
secondary
#A5C57F
accent
#DD4B9A
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F36B2

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

Preview Lab → · Contrast checker → · Palette generator →

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