#6122A6#6122A6

#6122A6 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.194 H 299.4°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#6122A6
RGBrgb(97, 34, 166)
HSLhsl(269, 66%, 39%)
HSVhsv(269, 80%, 65%)
CMYKcmyk(41.6%, 79.5%, 0%, 34.9%)
CIE-LABlab(30.49, 53.07, -58.98)
CIE-LCHlch(30.49, 79.34, 311.98°)
OKLaboklab(42.5% 0.0951 -0.1687)
OKLCHoklch(42.5% 0.194 299.4)
XYZxyz(12.3830, 6.4385, 36.6593)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6122A6 #67A622
analogous
#2225A6 #6122A6 #A322A6
triadic
#6122A6 #A66122 #22A661
tetradic
#6122A6 #A62225 #67A622 #22A6A3
square
#6122A6 #A62225 #67A622 #22A6A3
split-complementary
#6122A6 #A6A322 #25A622
monochromatic
#260D40 #431873 #6122A6 #7F30D5 #9E63DF

Accessibility & contrast

On white

9.18
#6122A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6122A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6122A6
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6122A6#FFFFFF#000000##FFFFFF
##6122A61.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#504664
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6122a6;
/* rgb */ color: rgb(97, 34, 166);
/* oklch */ color: oklch(42.5% 0.194 299.4);
Tailwind
colors: {
  custom: {
    50: '#9565c1',
    500: '#6122a6',
    950: '#000000',
  },
}
SCSS
$custom: #6122a6;
$custom-light: #9565c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6122a6",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 166
  },
  "hsl": {
    "h": 268.636,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42502,
    "c": 0.19365,
    "h": 299.4
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#6122A6
secondary
#94C45F
accent
#E93F98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6122A6

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

Preview Lab → · Contrast checker → · Palette generator →

#6122A6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva