#6F22BA#6F22BA

#6F22BA is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 46.0% C 0.216 H 300.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#6F22BA
RGBrgb(111, 34, 186)
HSLhsl(270, 69%, 43%)
HSVhsv(270, 82%, 73%)
CMYKcmyk(40.3%, 81.7%, 0%, 27.1%)
CIE-LABlab(34.13, 59.95, -64.90)
CIE-LCHlch(34.13, 88.35, 312.73°)
OKLaboklab(45.97% 0.1098 -0.1856)
OKLCHoklch(45.97% 0.216 300.6)
XYZxyz(15.9883, 8.0686, 47.1599)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22BA #6DBA22
analogous
#2322BA #6F22BA #BA22B9
triadic
#6F22BA #BA6F22 #22BA6F
tetradic
#6F22BA #BA2322 #6DBA22 #22B9BA
square
#6F22BA #BA2322 #6DBA22 #22B9BA
split-complementary
#6F22BA #B9BA22 #22BA23
monochromatic
#310F53 #501986 #6F22BA #8E3EDC #AC71E5

Accessibility & contrast

On white

8.03
#6F22BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6F22BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22BA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22BA#FFFFFF#000000##FFFFFF
##6F22BA1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050BE
Deuteranopia (green-blind)
#004FB7
Tritanopia (blue-blind)
#5D4D70
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f22ba;
/* rgb */ color: rgb(111, 34, 186);
/* oklch */ color: oklch(46.0% 0.216 300.6);
Tailwind
colors: {
  custom: {
    50: '#a068d0',
    500: '#6f22ba',
    950: '#000000',
  },
}
SCSS
$custom: #6f22ba;
$custom-light: #a068d0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22ba",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 186
  },
  "hsl": {
    "h": 270.395,
    "s": 69.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4597,
    "c": 0.21565,
    "h": 300.6
  },
  "luminance": 0.08069
}

Semantic roles & 50–950 ramp

primary
#6F22BA
secondary
#9BCC6C
accent
#EC3C93
background
#FAF6FC
surface
#F4EBF9
border
#CEC6D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #6F22BA

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

Preview Lab → · Contrast checker → · Palette generator →

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