#6F33B4#6F33B4

#6F33B4 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.192 H 300.3°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#6F33B4
RGBrgb(111, 51, 180)
HSLhsl(268, 56%, 45%)
HSVhsv(268, 72%, 71%)
CMYKcmyk(38.3%, 71.7%, 0%, 29.4%)
CIE-LABlab(36.07, 51.52, -58.18)
CIE-LCHlch(36.07, 77.71, 311.52°)
OKLaboklab(47.18% 0.097 -0.166)
OKLCHoklch(47.18% 0.192 300.3)
XYZxyz(15.9756, 9.0423, 44.0748)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F33B4 #78B433
analogous
#3337B4 #6F33B4 #AF33B4
triadic
#6F33B4 #B46F33 #33B46F
tetradic
#6F33B4 #B43337 #78B433 #33B4AF
square
#6F33B4 #B43337 #78B433 #33B4AF
split-complementary
#6F33B4 #B4AF33 #37B433
monochromatic
#341855 #522584 #6F33B4 #8E55CF #AE85DC

Accessibility & contrast

On white

7.48
#6F33B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#6F33B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F33B4
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F33B4#FFFFFF#000000##FFFFFF
##6F33B41.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0054B1
Tritanopia (blue-blind)
#5F5370
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f33b4;
/* rgb */ color: rgb(111, 51, 180);
/* oklch */ color: oklch(47.2% 0.192 300.3);
Tailwind
colors: {
  custom: {
    50: '#9e70cb',
    500: '#6f33b4',
    950: '#000000',
  },
}
SCSS
$custom: #6f33b4;
$custom-light: #9e70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f33b4",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 180
  },
  "hsl": {
    "h": 267.907,
    "s": 55.844,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47176,
    "c": 0.19225,
    "h": 300.3
  },
  "luminance": 0.09042
}

Semantic roles & 50–950 ramp

primary
#6F33B4
secondary
#A4C67D
accent
#DF4999
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F33B4

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

Preview Lab → · Contrast checker → · Palette generator →

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