#6121A4#6121A4

#6121A4 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.2% C 0.193 H 300.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#6121A4
RGBrgb(97, 33, 164)
HSLhsl(269, 66%, 39%)
HSVhsv(269, 80%, 64%)
CMYKcmyk(40.9%, 79.9%, 0%, 35.7%)
CIE-LABlab(30.18, 52.98, -58.28)
CIE-LCHlch(30.18, 78.76, 312.27°)
OKLaboklab(42.23% 0.0965 -0.1666)
OKLCHoklch(42.23% 0.193 300.1)
XYZxyz(12.1728, 6.3093, 35.6913)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6121A4 #64A421
analogous
#2122A4 #6121A4 #A221A4
triadic
#6121A4 #A46121 #21A461
tetradic
#6121A4 #A42122 #64A421 #21A4A2
square
#6121A4 #A42122 #64A421 #21A4A2
split-complementary
#6121A4 #A4A221 #22A421
monochromatic
#250C3E #431771 #6121A4 #7F2DD5 #9E60DF

Accessibility & contrast

On white

9.28
#6121A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6121A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##6121A4#FFFFFF#000000##FFFFFF
##6121A41.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A8
Deuteranopia (green-blind)
#0046A2
Tritanopia (blue-blind)
#514563
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6121a4;
/* rgb */ color: rgb(97, 33, 164);
/* oklch */ color: oklch(42.2% 0.193 300.1);
Tailwind
colors: {
  custom: {
    50: '#9565c0',
    500: '#6121a4',
    950: '#000000',
  },
}
SCSS
$custom: #6121a4;
$custom-light: #9565c0;
$custom-dark: #000000;
JSON
{
  "hex": "#6121a4",
  "rgb": {
    "r": 97,
    "g": 33,
    "b": 164
  },
  "hsl": {
    "h": 269.313,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.42229,
    "c": 0.19255,
    "h": 300.1
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#6121A4
secondary
#92C45D
accent
#E93E96
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6121A4

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

Preview Lab → · Contrast checker → · Palette generator →

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