#6121AA#6121AA

#6121AA is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.8% C 0.199 H 298.4°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6121AA
RGBrgb(97, 33, 170)
HSLhsl(268, 67%, 40%)
HSVhsv(268, 81%, 67%)
CMYKcmyk(42.9%, 80.6%, 0%, 33.3%)
CIE-LABlab(30.71, 54.44, -61.02)
CIE-LCHlch(30.71, 81.78, 311.74°)
OKLaboklab(42.77% 0.0947 -0.1747)
OKLCHoklch(42.77% 0.199 298.4)
XYZxyz(12.7274, 6.5312, 38.6125)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6121AA #6AAA21
analogous
#2126AA #6121AA #A621AA
triadic
#6121AA #AA6121 #21AA61
tetradic
#6121AA #AA2126 #6AAA21 #21AAA6
square
#6121AA #AA2126 #6AAA21 #21AAA6
split-complementary
#6121AA #AAA621 #26AA21
monochromatic
#270D43 #441777 #6121AA #7F31D7 #9F64E1

Accessibility & contrast

On white

9.11
#6121AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6121AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6121AA
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6121AA#FFFFFF#000000##FFFFFF
##6121AA1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AE
Deuteranopia (green-blind)
#0047A7
Tritanopia (blue-blind)
#4E4866
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6121aa;
/* rgb */ color: rgb(97, 33, 170);
/* oklch */ color: oklch(42.8% 0.199 298.4);
Tailwind
colors: {
  custom: {
    50: '#9565c4',
    500: '#6121aa',
    950: '#000000',
  },
}
SCSS
$custom: #6121aa;
$custom-light: #9565c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6121aa",
  "rgb": {
    "r": 97,
    "g": 33,
    "b": 170
  },
  "hsl": {
    "h": 268.029,
    "s": 67.488,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42766,
    "c": 0.19868,
    "h": 298.4
  },
  "luminance": 0.06531
}

Semantic roles & 50–950 ramp

primary
#6121AA
secondary
#97C661
accent
#EA3D9A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6121AA

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

Preview Lab → · Contrast checker → · Palette generator →

#6121AA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva