#6F22BC#6F22BC

#6F22BC is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 46.1% C 0.218 H 300.1°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6F22BC
RGBrgb(111, 34, 188)
HSLhsl(270, 69%, 44%)
HSVhsv(270, 82%, 74%)
CMYKcmyk(41%, 81.9%, 0%, 26.3%)
CIE-LABlab(34.30, 60.42, -65.79)
CIE-LCHlch(34.30, 89.32, 312.56°)
OKLaboklab(46.15% 0.1092 -0.1882)
OKLCHoklch(46.15% 0.218 300.1)
XYZxyz(16.2024, 8.1542, 48.2875)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22BC #6FBC22
analogous
#2222BC #6F22BC #BC22BC
triadic
#6F22BC #BC6F22 #22BC6F
tetradic
#6F22BC #BC2222 #6FBC22 #22BCBC
square
#6F22BC #BC2222 #6FBC22 #22BCBC
split-complementary
#6F22BC #BCBC22 #22BC22
monochromatic
#320F54 #501988 #6F22BC #8E3FDC #AC73E6

Accessibility & contrast

On white

7.98
#6F22BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6F22BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22BC
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22BC#FFFFFF#000000##FFFFFF
##6F22BC1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C0
Deuteranopia (green-blind)
#004FB9
Tritanopia (blue-blind)
#5D4E71
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f22bc;
/* rgb */ color: rgb(111, 34, 188);
/* oklch */ color: oklch(46.1% 0.218 300.1);
Tailwind
colors: {
  custom: {
    50: '#a068d1',
    500: '#6f22bc',
    950: '#000000',
  },
}
SCSS
$custom: #6f22bc;
$custom-light: #a068d1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22bc",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 188
  },
  "hsl": {
    "h": 270,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46146,
    "c": 0.21759,
    "h": 300.1
  },
  "luminance": 0.08154
}

Semantic roles & 50–950 ramp

primary
#6F22BC
secondary
#9DCD6D
accent
#EC3C94
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #6F22BC

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

Preview Lab → · Contrast checker → · Palette generator →

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