#6120A8#6120A8

#6120A8 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.5% C 0.198 H 299.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#6120A8
RGBrgb(97, 32, 168)
HSLhsl(269, 68%, 39%)
HSVhsv(269, 81%, 66%)
CMYKcmyk(42.3%, 81%, 0%, 34.1%)
CIE-LABlab(30.40, 54.34, -60.33)
CIE-LCHlch(30.40, 81.19, 312.01°)
OKLaboklab(42.49% 0.096 -0.1726)
OKLCHoklch(42.49% 0.198 299.1)
XYZxyz(12.5124, 6.4014, 37.6146)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6120A8 #67A820
analogous
#2023A8 #6120A8 #A520A8
triadic
#6120A8 #A86120 #20A861
tetradic
#6120A8 #A82023 #67A820 #20A8A5
square
#6120A8 #A82023 #67A820 #20A8A5
split-complementary
#6120A8 #A8A520 #23A820
monochromatic
#260C41 #431675 #6120A8 #7F2ED7 #9E61E1

Accessibility & contrast

On white

9.21
#6120A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6120A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6120A8
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6120A8#FFFFFF#000000##FFFFFF
##6120A81.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)
#0047AC
Deuteranopia (green-blind)
#0046A5
Tritanopia (blue-blind)
#4F4665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6120a8;
/* rgb */ color: rgb(97, 32, 168);
/* oklch */ color: oklch(42.5% 0.198 299.1);
Tailwind
colors: {
  custom: {
    50: '#9564c3',
    500: '#6120a8',
    950: '#000000',
  },
}
SCSS
$custom: #6120a8;
$custom-light: #9564c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6120a8",
  "rgb": {
    "r": 97,
    "g": 32,
    "b": 168
  },
  "hsl": {
    "h": 268.676,
    "s": 68,
    "l": 39.216
  },
  "oklch": {
    "l": 0.42494,
    "c": 0.19755,
    "h": 299.1
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#6120A8
secondary
#94C65E
accent
#EB3D98
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6120A8

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

Preview Lab → · Contrast checker → · Palette generator →

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