#6121A8#6121A8

#6121A8 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.197 H 299.0°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#6121A8
RGBrgb(97, 33, 168)
HSLhsl(268, 67%, 39%)
HSVhsv(268, 80%, 66%)
CMYKcmyk(42.3%, 80.4%, 0%, 34.1%)
CIE-LABlab(30.54, 53.96, -60.11)
CIE-LCHlch(30.54, 80.78, 311.91°)
OKLaboklab(42.59% 0.0953 -0.172)
OKLCHoklch(42.59% 0.197 299)
XYZxyz(12.5397, 6.4561, 37.6237)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6121A8 #68A821
analogous
#2125A8 #6121A8 #A421A8
triadic
#6121A8 #A86121 #21A861
tetradic
#6121A8 #A82125 #68A821 #21A8A4
square
#6121A8 #A82125 #68A821 #21A8A4
split-complementary
#6121A8 #A8A421 #25A821
monochromatic
#260D42 #431775 #6121A8 #7F30D6 #9E63E0

Accessibility & contrast

On white

9.17
#6121A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6121A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6121A8#FFFFFF#000000##FFFFFF
##6121A81.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#4F4765
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6121a8;
/* rgb */ color: rgb(97, 33, 168);
/* oklch */ color: oklch(42.6% 0.197 299.0);
Tailwind
colors: {
  custom: {
    50: '#9565c3',
    500: '#6121a8',
    950: '#000000',
  },
}
SCSS
$custom: #6121a8;
$custom-light: #9565c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6121a8",
  "rgb": {
    "r": 97,
    "g": 33,
    "b": 168
  },
  "hsl": {
    "h": 268.444,
    "s": 67.164,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42586,
    "c": 0.19664,
    "h": 299
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#6121A8
secondary
#95C55F
accent
#EA3E98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6121A8

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

Preview Lab → · Contrast checker → · Palette generator →

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