#6122A7#6122A7

#6122A7 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.195 H 299.1°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6122A7
RGBrgb(97, 34, 167)
HSLhsl(268, 66%, 39%)
HSVhsv(268, 80%, 65%)
CMYKcmyk(41.9%, 79.6%, 0%, 34.5%)
CIE-LABlab(30.58, 53.32, -59.43)
CIE-LCHlch(30.58, 79.85, 311.90°)
OKLaboklab(42.59% 0.0948 -0.17)
OKLCHoklch(42.59% 0.195 299.1)
XYZxyz(12.4751, 6.4753, 37.1443)
Luminance0.0648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6122A7 #68A722
analogous
#2226A7 #6122A7 #A422A7
triadic
#6122A7 #A76122 #22A761
tetradic
#6122A7 #A72226 #68A722 #22A7A4
square
#6122A7 #A72226 #68A722 #22A7A4
split-complementary
#6122A7 #A7A422 #26A722
monochromatic
#260D41 #431874 #6122A7 #7F31D5 #9E64DF

Accessibility & contrast

On white

9.15
#6122A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6122A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6122A7
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6122A7#FFFFFF#000000##FFFFFF
##6122A71.009.152.309.15
#FFFFFF9.151.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#504765
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6122a7;
/* rgb */ color: rgb(97, 34, 167);
/* oklch */ color: oklch(42.6% 0.195 299.1);
Tailwind
colors: {
  custom: {
    50: '#9565c2',
    500: '#6122a7',
    950: '#000000',
  },
}
SCSS
$custom: #6122a7;
$custom-light: #9565c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6122a7",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 167
  },
  "hsl": {
    "h": 268.421,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4259,
    "c": 0.19468,
    "h": 299.1
  },
  "luminance": 0.06475
}

Semantic roles & 50–950 ramp

primary
#6122A7
secondary
#95C560
accent
#E93F98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6122A7

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

Preview Lab → · Contrast checker → · Palette generator →

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