#6122A5#6122A5

#6122A5 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.4% C 0.193 H 299.7°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#6122A5
RGBrgb(97, 34, 165)
HSLhsl(269, 66%, 39%)
HSVhsv(269, 79%, 65%)
CMYKcmyk(41.2%, 79.4%, 0%, 35.3%)
CIE-LABlab(30.40, 52.83, -58.52)
CIE-LCHlch(30.40, 78.84, 312.08°)
OKLaboklab(42.41% 0.0954 -0.1673)
OKLCHoklch(42.41% 0.193 299.7)
XYZxyz(12.2916, 6.4019, 36.1781)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6122A5 #66A522
analogous
#2225A5 #6122A5 #A322A5
triadic
#6122A5 #A56122 #22A561
tetradic
#6122A5 #A52225 #66A522 #22A5A3
square
#6122A5 #A52225 #66A522 #22A5A3
split-complementary
#6122A5 #A5A322 #25A522
monochromatic
#250D40 #431872 #6122A5 #7F30D4 #9E63DF

Accessibility & contrast

On white

9.21
#6122A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6122A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6122A5
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6122A5#FFFFFF#000000##FFFFFF
##6122A51.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A9
Deuteranopia (green-blind)
#0046A3
Tritanopia (blue-blind)
#514663
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6122a5;
/* rgb */ color: rgb(97, 34, 165);
/* oklch */ color: oklch(42.4% 0.193 299.7);
Tailwind
colors: {
  custom: {
    50: '#9565c1',
    500: '#6122a5',
    950: '#000000',
  },
}
SCSS
$custom: #6122a5;
$custom-light: #9565c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6122a5",
  "rgb": {
    "r": 97,
    "g": 34,
    "b": 165
  },
  "hsl": {
    "h": 268.855,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42413,
    "c": 0.19263,
    "h": 299.7
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#6122A5
secondary
#93C45F
accent
#E93F97
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6122A5

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

Preview Lab → · Contrast checker → · Palette generator →

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