#6F33B2#6F33B2

#6F33B2 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.0% C 0.190 H 300.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#6F33B2
RGBrgb(111, 51, 178)
HSLhsl(268, 55%, 45%)
HSVhsv(268, 71%, 70%)
CMYKcmyk(37.6%, 71.3%, 0%, 30.2%)
CIE-LABlab(35.91, 51.02, -57.25)
CIE-LCHlch(35.91, 76.68, 311.71°)
OKLaboklab(47.02% 0.0974 -0.1632)
OKLCHoklch(47.02% 0.19 300.8)
XYZxyz(15.7733, 8.9614, 43.0096)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F33B2 #76B233
analogous
#3337B2 #6F33B2 #AE33B2
triadic
#6F33B2 #B26F33 #33B26F
tetradic
#6F33B2 #B23337 #76B233 #33B2AE
square
#6F33B2 #B23337 #76B233 #33B2AE
split-complementary
#6F33B2 #B2AE33 #37B233
monochromatic
#341853 #512582 #6F33B2 #8E54CE #AD84DC

Accessibility & contrast

On white

7.52
#6F33B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#6F33B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F33B2
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F33B2#FFFFFF#000000##FFFFFF
##6F33B21.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0054AF
Tritanopia (blue-blind)
#60526F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f33b2;
/* rgb */ color: rgb(111, 51, 178);
/* oklch */ color: oklch(47.0% 0.190 300.8);
Tailwind
colors: {
  custom: {
    50: '#9e70ca',
    500: '#6f33b2',
    950: '#000000',
  },
}
SCSS
$custom: #6f33b2;
$custom-light: #9e70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#6f33b2",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 178
  },
  "hsl": {
    "h": 268.346,
    "s": 55.459,
    "l": 44.902
  },
  "oklch": {
    "l": 0.47017,
    "c": 0.19007,
    "h": 300.8
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#6F33B2
secondary
#A2C57C
accent
#DF4998
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F33B2

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

Preview Lab → · Contrast checker → · Palette generator →

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