#6124A6#6124A6

#6124A6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.7% C 0.192 H 299.2°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#6124A6
RGBrgb(97, 36, 166)
HSLhsl(268, 64%, 40%)
HSVhsv(268, 78%, 65%)
CMYKcmyk(41.6%, 78.3%, 0%, 34.9%)
CIE-LABlab(30.77, 52.26, -58.52)
CIE-LCHlch(30.77, 78.46, 311.77°)
OKLaboklab(42.7% 0.0935 -0.1674)
OKLCHoklch(42.7% 0.192 299.2)
XYZxyz(12.4418, 6.5561, 36.6790)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6124A6 #69A624
analogous
#2428A6 #6124A6 #A224A6
triadic
#6124A6 #A66124 #24A661
tetradic
#6124A6 #A62428 #69A624 #24A6A2
square
#6124A6 #A62428 #69A624 #24A6A2
split-complementary
#6124A6 #A6A224 #28A624
monochromatic
#260E41 #441974 #6124A6 #7F34D3 #9F66DE

Accessibility & contrast

On white

9.09
#6124A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#6124A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6124A6
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6124A6#FFFFFF#000000##FFFFFF
##6124A61.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AA
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#504764
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6124a6;
/* rgb */ color: rgb(97, 36, 166);
/* oklch */ color: oklch(42.7% 0.192 299.2);
Tailwind
colors: {
  custom: {
    50: '#9566c1',
    500: '#6124a6',
    950: '#000000',
  },
}
SCSS
$custom: #6124a6;
$custom-light: #9566c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6124a6",
  "rgb": {
    "r": 97,
    "g": 36,
    "b": 166
  },
  "hsl": {
    "h": 268.154,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42698,
    "c": 0.1917,
    "h": 299.2
  },
  "luminance": 0.06556
}

Semantic roles & 50–950 ramp

primary
#6124A6
secondary
#96C462
accent
#E74099
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6124A6

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

Preview Lab → · Contrast checker → · Palette generator →

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