#6F33B5#6F33B5

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

Color values

HEX#6F33B5
RGBrgb(111, 51, 181)
HSLhsl(268, 56%, 45%)
HSVhsv(268, 72%, 71%)
CMYKcmyk(38.7%, 71.8%, 0%, 29%)
CIE-LABlab(36.14, 51.77, -58.64)
CIE-LCHlch(36.14, 78.22, 311.44°)
OKLaboklab(47.26% 0.0968 -0.1673)
OKLCHoklch(47.26% 0.193 300.1)
XYZxyz(16.0778, 9.0832, 44.6133)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F33B5 #79B533
analogous
#3338B5 #6F33B5 #B033B5
triadic
#6F33B5 #B56F33 #33B56F
tetradic
#6F33B5 #B53338 #79B533 #33B5B0
square
#6F33B5 #B53338 #79B533 #33B5B0
split-complementary
#6F33B5 #B5B033 #38B533
monochromatic
#341856 #522685 #6F33B5 #8E56CF #AE86DD

Accessibility & contrast

On white

7.46
#6F33B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6F33B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F33B5
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F33B5#FFFFFF#000000##FFFFFF
##6F33B51.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f33b5;
/* rgb */ color: rgb(111, 51, 181);
/* oklch */ color: oklch(47.3% 0.193 300.1);
Tailwind
colors: {
  custom: {
    50: '#9e70cc',
    500: '#6f33b5',
    950: '#000000',
  },
}
SCSS
$custom: #6f33b5;
$custom-light: #9e70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6f33b5",
  "rgb": {
    "r": 111,
    "g": 51,
    "b": 181
  },
  "hsl": {
    "h": 267.692,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.47257,
    "c": 0.19333,
    "h": 300.1
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#6F33B5
secondary
#A5C67D
accent
#DF489A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F33B5

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

Preview Lab → · Contrast checker → · Palette generator →

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