#6F22BB#6F22BB

#6F22BB is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.1% C 0.217 H 300.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6F22BB
RGBrgb(111, 34, 187)
HSLhsl(270, 69%, 43%)
HSVhsv(270, 82%, 73%)
CMYKcmyk(40.6%, 81.8%, 0%, 26.7%)
CIE-LABlab(34.21, 60.18, -65.34)
CIE-LCHlch(34.21, 88.84, 312.65°)
OKLaboklab(46.06% 0.1095 -0.1869)
OKLCHoklch(46.06% 0.217 300.4)
XYZxyz(16.0950, 8.1113, 47.7217)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22BB #6EBB22
analogous
#2222BB #6F22BB #BB22BA
triadic
#6F22BB #BB6F22 #22BB6F
tetradic
#6F22BB #BB2222 #6EBB22 #22BABB
square
#6F22BB #BB2222 #6EBB22 #22BABB
split-complementary
#6F22BB #BABB22 #22BB22
monochromatic
#320F53 #501987 #6F22BB #8E3EDC #AC72E5

Accessibility & contrast

On white

8.01
#6F22BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6F22BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22BB
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22BB#FFFFFF#000000##FFFFFF
##6F22BB1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BF
Deuteranopia (green-blind)
#004FB8
Tritanopia (blue-blind)
#5D4E70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f22bb;
/* rgb */ color: rgb(111, 34, 187);
/* oklch */ color: oklch(46.1% 0.217 300.4);
Tailwind
colors: {
  custom: {
    50: '#a068d1',
    500: '#6f22bb',
    950: '#000000',
  },
}
SCSS
$custom: #6f22bb;
$custom-light: #a068d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22bb",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 187
  },
  "hsl": {
    "h": 270.196,
    "s": 69.231,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46058,
    "c": 0.21662,
    "h": 300.4
  },
  "luminance": 0.08111
}

Semantic roles & 50–950 ramp

primary
#6F22BB
secondary
#9CCC6D
accent
#EC3C93
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6F22BB

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

Preview Lab → · Contrast checker → · Palette generator →

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