#6124A8#6124A8

#6124A8 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.9% C 0.194 H 298.7°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#6124A8
RGBrgb(97, 36, 168)
HSLhsl(268, 65%, 40%)
HSVhsv(268, 79%, 66%)
CMYKcmyk(42.3%, 78.6%, 0%, 34.1%)
CIE-LABlab(30.95, 52.76, -59.43)
CIE-LCHlch(30.95, 79.47, 311.59°)
OKLaboklab(42.87% 0.0929 -0.17)
OKLCHoklch(42.87% 0.194 298.7)
XYZxyz(12.6267, 6.6301, 37.6527)
Luminance0.0663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6124A8 #6BA824
analogous
#2429A8 #6124A8 #A324A8
triadic
#6124A8 #A86124 #24A861
tetradic
#6124A8 #A82429 #6BA824 #24A8A3
square
#6124A8 #A82429 #6BA824 #24A8A3
split-complementary
#6124A8 #A8A324 #29A824
monochromatic
#270E43 #441976 #6124A8 #7F35D4 #9F68DF

Accessibility & contrast

On white

9.03
#6124A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#6124A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6124A8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6124A8#FFFFFF#000000##FFFFFF
##6124A81.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#4F4866
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6124a8;
/* rgb */ color: rgb(97, 36, 168);
/* oklch */ color: oklch(42.9% 0.194 298.7);
Tailwind
colors: {
  custom: {
    50: '#9566c3',
    500: '#6124a8',
    950: '#000000',
  },
}
SCSS
$custom: #6124a8;
$custom-light: #9566c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6124a8",
  "rgb": {
    "r": 97,
    "g": 36,
    "b": 168
  },
  "hsl": {
    "h": 267.727,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.42874,
    "c": 0.19378,
    "h": 298.7
  },
  "luminance": 0.0663
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6124A8

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

Preview Lab → · Contrast checker → · Palette generator →

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