#6124A9#6124A9

#6124A9 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.195 H 298.4°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#6124A9
RGBrgb(97, 36, 169)
HSLhsl(268, 65%, 40%)
HSVhsv(268, 79%, 66%)
CMYKcmyk(42.6%, 78.7%, 0%, 33.7%)
CIE-LABlab(31.04, 53.01, -59.89)
CIE-LCHlch(31.04, 79.98, 311.51°)
OKLaboklab(42.96% 0.0926 -0.1714)
OKLCHoklch(42.96% 0.195 298.4)
XYZxyz(12.7202, 6.6675, 38.1452)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6124A9 #6CA924
analogous
#2429A9 #6124A9 #A424A9
triadic
#6124A9 #A96124 #24A961
tetradic
#6124A9 #A92429 #6CA924 #24A9A4
square
#6124A9 #A92429 #6CA924 #24A9A4
split-complementary
#6124A9 #A9A424 #29A924
monochromatic
#270F44 #441977 #6124A9 #7F36D4 #9F68DF

Accessibility & contrast

On white

9.00
#6124A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6124A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6124A9
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6124A9#FFFFFF#000000##FFFFFF
##6124A91.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AD
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#4F4866
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6124a9;
/* rgb */ color: rgb(97, 36, 169);
/* oklch */ color: oklch(43.0% 0.195 298.4);
Tailwind
colors: {
  custom: {
    50: '#9566c4',
    500: '#6124a9',
    950: '#000000',
  },
}
SCSS
$custom: #6124a9;
$custom-light: #9566c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6124a9",
  "rgb": {
    "r": 97,
    "g": 36,
    "b": 169
  },
  "hsl": {
    "h": 267.519,
    "s": 64.878,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42963,
    "c": 0.19483,
    "h": 298.4
  },
  "luminance": 0.06668
}

Semantic roles & 50–950 ramp

primary
#6124A9
secondary
#98C564
accent
#E8409B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6124A9

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

Preview Lab → · Contrast checker → · Palette generator →

#6124A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva