#6F22A9#6F22A9

#6F22A9 is a dark, vivid violet. Relative luminance 0.074; OKLCH L 44.5% C 0.199 H 305.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#6F22A9
RGBrgb(111, 34, 169)
HSLhsl(274, 67%, 40%)
HSVhsv(274, 80%, 66%)
CMYKcmyk(34.3%, 79.9%, 0%, 33.7%)
CIE-LABlab(32.67, 56.05, -57.14)
CIE-LCHlch(32.67, 80.04, 314.45°)
OKLaboklab(44.51% 0.1148 -0.1628)
OKLCHoklch(44.51% 0.199 305.2)
XYZxyz(14.2874, 7.3882, 38.2018)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F22A9 #5CA922
analogous
#2B22A9 #6F22A9 #A922A0
triadic
#6F22A9 #A96F22 #22A96F
tetradic
#6F22A9 #A92B22 #5CA922 #22A0A9
square
#6F22A9 #A92B22 #5CA922 #22A0A9
split-complementary
#6F22A9 #A0A922 #22A92B
monochromatic
#2C0D43 #4E1876 #6F22A9 #9032D6 #AB65E0

Accessibility & contrast

On white

8.48
#6F22A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#6F22A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F22A9
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F22A9#FFFFFF#000000##FFFFFF
##6F22A91.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BAD
Deuteranopia (green-blind)
#004DA6
Tritanopia (blue-blind)
#644666
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #6f22a9;
/* rgb */ color: rgb(111, 34, 169);
/* oklch */ color: oklch(44.5% 0.199 305.2);
Tailwind
colors: {
  custom: {
    50: '#9e67c4',
    500: '#6f22a9',
    950: '#000000',
  },
}
SCSS
$custom: #6f22a9;
$custom-light: #9e67c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f22a9",
  "rgb": {
    "r": 111,
    "g": 34,
    "b": 169
  },
  "hsl": {
    "h": 274.222,
    "s": 66.502,
    "l": 39.804
  },
  "oklch": {
    "l": 0.44514,
    "c": 0.19922,
    "h": 305.2
  },
  "luminance": 0.07388
}

Semantic roles & 50–950 ramp

primary
#6F22A9
secondary
#8CC561
accent
#E93E88
background
#FAF6FC
surface
#F4EBF8
border
#CEC6D1
text
#0F0613
muted
#7F7A82

Preview Lab

Preview with #6F22A9

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

Preview Lab → · Contrast checker → · Palette generator →

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