#6124AD#6124AD

#6124AD is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.199 H 297.4°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#6124AD
RGBrgb(97, 36, 173)
HSLhsl(267, 66%, 41%)
HSVhsv(267, 79%, 68%)
CMYKcmyk(43.9%, 79.2%, 0%, 32.2%)
CIE-LABlab(31.39, 54.00, -61.71)
CIE-LCHlch(31.39, 82.00, 311.19°)
OKLaboklab(43.32% 0.0915 -0.1767)
OKLCHoklch(43.32% 0.199 297.4)
XYZxyz(13.1015, 6.8200, 40.1532)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6124AD #70AD24
analogous
#242CAD #6124AD #A524AD
triadic
#6124AD #AD6124 #24AD61
tetradic
#6124AD #AD242C #70AD24 #24ADA5
square
#6124AD #AD242C #70AD24 #24ADA5
split-complementary
#6124AD #ADA524 #2CAD24
monochromatic
#280F48 #45197A #6124AD #7E39D6 #9F6BE0

Accessibility & contrast

On white

8.88
#6124AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6124AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6124AD
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6124AD#FFFFFF#000000##FFFFFF
##6124AD1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB1
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#4D4A68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6124ad;
/* rgb */ color: rgb(97, 36, 173);
/* oklch */ color: oklch(43.3% 0.199 297.4);
Tailwind
colors: {
  custom: {
    50: '#9566c7',
    500: '#6124ad',
    950: '#000000',
  },
}
SCSS
$custom: #6124ad;
$custom-light: #9566c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6124ad",
  "rgb": {
    "r": 97,
    "g": 36,
    "b": 173
  },
  "hsl": {
    "h": 266.715,
    "s": 65.55,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4332,
    "c": 0.19899,
    "h": 297.4
  },
  "luminance": 0.0682
}

Semantic roles & 50–950 ramp

primary
#6124AD
secondary
#9CC666
accent
#E93F9D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6124AD

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

Preview Lab → · Contrast checker → · Palette generator →

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