#6124A7#6124A7

#6124A7 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.193 H 298.9°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#6124A7
RGBrgb(97, 36, 167)
HSLhsl(268, 65%, 40%)
HSVhsv(268, 78%, 65%)
CMYKcmyk(41.9%, 78.4%, 0%, 34.5%)
CIE-LABlab(30.86, 52.51, -58.97)
CIE-LCHlch(30.86, 78.96, 311.68°)
OKLaboklab(42.79% 0.0932 -0.1687)
OKLCHoklch(42.79% 0.193 298.9)
XYZxyz(12.5339, 6.5930, 37.1639)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6124A7 #6AA724
analogous
#2428A7 #6124A7 #A324A7
triadic
#6124A7 #A76124 #24A761
tetradic
#6124A7 #A72428 #6AA724 #24A7A3
square
#6124A7 #A72428 #6AA724 #24A7A3
split-complementary
#6124A7 #A7A324 #28A724
monochromatic
#270E42 #441975 #6124A7 #7F35D3 #9F67DE

Accessibility & contrast

On white

9.06
#6124A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6124A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6124A7
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6124A7#FFFFFF#000000##FFFFFF
##6124A71.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0047A5
Tritanopia (blue-blind)
#504865
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6124a7;
/* rgb */ color: rgb(97, 36, 167);
/* oklch */ color: oklch(42.8% 0.193 298.9);
Tailwind
colors: {
  custom: {
    50: '#9566c2',
    500: '#6124a7',
    950: '#000000',
  },
}
SCSS
$custom: #6124a7;
$custom-light: #9566c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6124a7",
  "rgb": {
    "r": 97,
    "g": 36,
    "b": 167
  },
  "hsl": {
    "h": 267.939,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42786,
    "c": 0.19274,
    "h": 298.9
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#6124A7
secondary
#97C463
accent
#E8409A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6124A7

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

Preview Lab → · Contrast checker → · Palette generator →

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