#6124A5#6124A5

#6124A5 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.6% C 0.191 H 299.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#6124A5
RGBrgb(97, 36, 165)
HSLhsl(268, 64%, 39%)
HSVhsv(268, 78%, 65%)
CMYKcmyk(41.2%, 78.2%, 0%, 35.3%)
CIE-LABlab(30.69, 52.01, -58.05)
CIE-LCHlch(30.69, 77.95, 311.86°)
OKLaboklab(42.61% 0.0938 -0.166)
OKLCHoklch(42.61% 0.191 299.5)
XYZxyz(12.3505, 6.5196, 36.1977)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6124A5 #68A524
analogous
#2428A5 #6124A5 #A224A5
triadic
#6124A5 #A56124 #24A561
tetradic
#6124A5 #A52428 #68A524 #24A5A2
square
#6124A5 #A52428 #68A524 #24A5A2
split-complementary
#6124A5 #A5A224 #28A524
monochromatic
#260E41 #431973 #6124A5 #7F34D3 #9E66DE

Accessibility & contrast

On white

9.11
#6124A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#6124A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6124A5
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6124A5#FFFFFF#000000##FFFFFF
##6124A51.009.112.309.11
#FFFFFF9.111.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A9
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#514764
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6124a5;
/* rgb */ color: rgb(97, 36, 165);
/* oklch */ color: oklch(42.6% 0.191 299.5);
Tailwind
colors: {
  custom: {
    50: '#9566c1',
    500: '#6124a5',
    950: '#000000',
  },
}
SCSS
$custom: #6124a5;
$custom-light: #9566c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6124a5",
  "rgb": {
    "r": 97,
    "g": 36,
    "b": 165
  },
  "hsl": {
    "h": 268.372,
    "s": 64.179,
    "l": 39.412
  },
  "oklch": {
    "l": 0.4261,
    "c": 0.19065,
    "h": 299.5
  },
  "luminance": 0.0652
}

Semantic roles & 50–950 ramp

primary
#6124A5
secondary
#95C362
accent
#E74198
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6124A5

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

Preview Lab → · Contrast checker → · Palette generator →

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