#6F22BD#6F22BD

#6F22BD is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.2% C 0.219 H 299.9°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#6F22BD
RGBrgb(111, 34, 189)
HSLhsl(270, 70%, 44%)
HSVhsv(270, 82%, 74%)
CMYKcmyk(41.3%, 82%, 0%, 25.9%)
CIE-LABlab(34.39, 60.65, -66.23)
CIE-LCHlch(34.39, 89.81, 312.48°)
OKLaboklab(46.24% 0.1089 -0.1895)
OKLCHoklch(46.24% 0.219 299.9)
XYZxyz(16.3106, 8.1975, 48.8572)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22BD #70BD22
analogous
#2223BD #6F22BD #BC22BD
triadic
#6F22BD #BD6F22 #22BD6F
tetradic
#6F22BD #BD2223 #70BD22 #22BDBC
square
#6F22BD #BD2223 #70BD22 #22BDBC
split-complementary
#6F22BD #BDBC22 #23BD22
monochromatic
#320F55 #511989 #6F22BD #8E40DD #AC73E6

Accessibility & contrast

On white

7.96
#6F22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6F22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22BD
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22BD#FFFFFF#000000##FFFFFF
##6F22BD1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C1
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#5C4F71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f22bd;
/* rgb */ color: rgb(111, 34, 189);
/* oklch */ color: oklch(46.2% 0.219 299.9);
Tailwind
colors: {
  custom: {
    50: '#a068d2',
    500: '#6f22bd',
    950: '#000000',
  },
}
SCSS
$custom: #6f22bd;
$custom-light: #a068d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22bd",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 269.806,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.46235,
    "c": 0.21856,
    "h": 299.9
  },
  "luminance": 0.08198
}

Semantic roles & 50–950 ramp

primary
#6F22BD
secondary
#9ECD6E
accent
#EC3B94
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6F22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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