#6125A6#6125A6

#6125A6 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.8% C 0.191 H 299.1°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#6125A6
RGBrgb(97, 37, 166)
HSLhsl(268, 64%, 40%)
HSVhsv(268, 78%, 65%)
CMYKcmyk(41.6%, 77.7%, 0%, 34.9%)
CIE-LABlab(30.92, 51.84, -58.28)
CIE-LCHlch(30.92, 78.00, 311.66°)
OKLaboklab(42.8% 0.0927 -0.1667)
OKLCHoklch(42.8% 0.191 299.1)
XYZxyz(12.4725, 6.6175, 36.6892)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6125A6 #6AA625
analogous
#2529A6 #6125A6 #A225A6
triadic
#6125A6 #A66125 #25A661
tetradic
#6125A6 #A62529 #6AA625 #25A6A2
square
#6125A6 #A62529 #6AA625 #25A6A2
split-complementary
#6125A6 #A6A225 #29A625
monochromatic
#270F42 #441A74 #6125A6 #7F36D2 #9F68DD

Accessibility & contrast

On white

9.04
#6125A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#6125A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6125A6
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6125A6#FFFFFF#000000##FFFFFF
##6125A61.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AA
Deuteranopia (green-blind)
#0048A4
Tritanopia (blue-blind)
#504865
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6125a6;
/* rgb */ color: rgb(97, 37, 166);
/* oklch */ color: oklch(42.8% 0.191 299.1);
Tailwind
colors: {
  custom: {
    50: '#9567c1',
    500: '#6125a6',
    950: '#000000',
  },
}
SCSS
$custom: #6125a6;
$custom-light: #9567c1;
$custom-dark: #000000;
JSON
{
  "hex": "#6125a6",
  "rgb": {
    "r": 97,
    "g": 37,
    "b": 166
  },
  "hsl": {
    "h": 267.907,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.428,
    "c": 0.19069,
    "h": 299.1
  },
  "luminance": 0.06618
}

Semantic roles & 50–950 ramp

primary
#6125A6
secondary
#97C364
accent
#E7419A
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6125A6

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

Preview Lab → · Contrast checker → · Palette generator →

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