#6B22BD#6B22BD

#6B22BD is a mid, highly saturated violet. Relative luminance 0.079; OKLCH L 45.8% C 0.218 H 298.2°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6B22BD
RGBrgb(107, 34, 189)
HSLhsl(268, 70%, 44%)
HSVhsv(268, 82%, 74%)
CMYKcmyk(43.4%, 82%, 0%, 25.9%)
CIE-LABlab(33.87, 60.09, -67.12)
CIE-LCHlch(33.87, 90.09, 311.84°)
OKLaboklab(45.76% 0.1029 -0.1922)
OKLCHoklch(45.76% 0.218 298.2)
XYZxyz(15.8184, 7.9437, 48.8341)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B22BD #74BD22
analogous
#2226BD #6B22BD #B822BD
triadic
#6B22BD #BD6B22 #22BD6B
tetradic
#6B22BD #BD2226 #74BD22 #22BDB8
square
#6B22BD #BD2226 #74BD22 #22BDB8
split-complementary
#6B22BD #BDB822 #26BD22
monochromatic
#300F55 #4E1989 #6B22BD #8A40DD #A973E6

Accessibility & contrast

On white

8.11
#6B22BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6B22BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B22BD
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B22BD#FFFFFF#000000##FFFFFF
##6B22BD1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#004EBA
Tritanopia (blue-blind)
#564F71
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b22bd;
/* rgb */ color: rgb(107, 34, 189);
/* oklch */ color: oklch(45.8% 0.218 298.2);
Tailwind
colors: {
  custom: {
    50: '#9e68d2',
    500: '#6b22bd',
    950: '#000000',
  },
}
SCSS
$custom: #6b22bd;
$custom-light: #9e68d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6b22bd",
  "rgb": {
    "r": 107,
    "g": 34,
    "b": 189
  },
  "hsl": {
    "h": 268.258,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45758,
    "c": 0.21804,
    "h": 298.2
  },
  "luminance": 0.07944
}

Semantic roles & 50–950 ramp

primary
#6B22BD
secondary
#A0CD6E
accent
#EC3B99
background
#FAF6FD
surface
#F4EBFA
border
#CEC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6B22BD

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

Preview Lab → · Contrast checker → · Palette generator →

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