#6F33B6#6F33B6

#6F33B6 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.3% C 0.194 H 299.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#6F33B6
RGBrgb(111, 51, 182)
HSLhsl(267, 56%, 46%)
HSVhsv(267, 72%, 71%)
CMYKcmyk(39%, 72%, 0%, 28.6%)
CIE-LABlab(36.22, 52.02, -59.11)
CIE-LCHlch(36.22, 78.74, 311.35°)
OKLaboklab(47.34% 0.0966 -0.1687)
OKLCHoklch(47.34% 0.194 299.8)
XYZxyz(16.1808, 9.1244, 45.1556)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F33B6 #7AB633
analogous
#3338B6 #6F33B6 #B033B6
triadic
#6F33B6 #B66F33 #33B66F
tetradic
#6F33B6 #B63338 #7AB633 #33B6B0
square
#6F33B6 #B63338 #7AB633 #33B6B0
split-complementary
#6F33B6 #B6B033 #38B633
monochromatic
#351856 #522686 #6F33B6 #8E56D0 #AE86DD

Accessibility & contrast

On white

7.43
#6F33B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#6F33B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F33B6
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F33B6#FFFFFF#000000##FFFFFF
##6F33B61.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0054B3
Tritanopia (blue-blind)
#5F5371
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f33b6;
/* rgb */ color: rgb(111, 51, 182);
/* oklch */ color: oklch(47.3% 0.194 299.8);
Tailwind
colors: {
  custom: {
    50: '#9e70cd',
    500: '#6f33b6',
    950: '#000000',
  },
}
SCSS
$custom: #6f33b6;
$custom-light: #9e70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f33b6",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 182
  },
  "hsl": {
    "h": 267.481,
    "s": 56.223,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47337,
    "c": 0.19441,
    "h": 299.8
  },
  "luminance": 0.09125
}

Semantic roles & 50–950 ramp

primary
#6F33B6
secondary
#A5C77E
accent
#E0489A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F33B6

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

Preview Lab → · Contrast checker → · Palette generator →

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