#6124AE#6124AE

#6124AE is a dark, highly saturated violet. Relative luminance 0.069; OKLCH L 43.4% C 0.200 H 297.1°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#6124AE
RGBrgb(97, 36, 174)
HSLhsl(267, 66%, 41%)
HSVhsv(267, 79%, 68%)
CMYKcmyk(44.3%, 79.3%, 0%, 31.8%)
CIE-LABlab(31.48, 54.25, -62.16)
CIE-LCHlch(31.48, 82.50, 311.11°)
OKLaboklab(43.41% 0.0912 -0.1781)
OKLCHoklch(43.41% 0.2 297.1)
XYZxyz(13.1986, 6.8589, 40.6647)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6124AE #71AE24
analogous
#242CAE #6124AE #A624AE
triadic
#6124AE #AE6124 #24AE61
tetradic
#6124AE #AE242C #71AE24 #24AEA6
square
#6124AE #AE242C #71AE24 #24AEA6
split-complementary
#6124AE #AEA624 #2CAE24
monochromatic
#280F49 #451A7B #6124AE #7F39D6 #9F6CE1

Accessibility & contrast

On white

8.85
#6124AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6124AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6124AE
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6124AE#FFFFFF#000000##FFFFFF
##6124AE1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0048AB
Tritanopia (blue-blind)
#4C4B69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6124ae;
/* rgb */ color: rgb(97, 36, 174);
/* oklch */ color: oklch(43.4% 0.200 297.1);
Tailwind
colors: {
  custom: {
    50: '#9666c7',
    500: '#6124ae',
    950: '#000000',
  },
}
SCSS
$custom: #6124ae;
$custom-light: #9666c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6124ae",
  "rgb": {
    "r": 97,
    "g": 36,
    "b": 174
  },
  "hsl": {
    "h": 266.522,
    "s": 65.714,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4341,
    "c": 0.20003,
    "h": 297.1
  },
  "luminance": 0.06859
}

Semantic roles & 50–950 ramp

primary
#6124AE
secondary
#9CC767
accent
#E93F9E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6124AE

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

Preview Lab → · Contrast checker → · Palette generator →

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