#6125A9#6125A9

#6125A9 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.1% C 0.194 H 298.3°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6125A9
RGBrgb(97, 37, 169)
HSLhsl(267, 64%, 40%)
HSVhsv(267, 78%, 66%)
CMYKcmyk(42.6%, 78.1%, 0%, 33.7%)
CIE-LABlab(31.18, 52.59, -59.66)
CIE-LCHlch(31.18, 79.53, 311.40°)
OKLaboklab(43.06% 0.0918 -0.1707)
OKLCHoklch(43.06% 0.194 298.3)
XYZxyz(12.7509, 6.7289, 38.1554)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6125A9 #6DA925
analogous
#252BA9 #6125A9 #A325A9
triadic
#6125A9 #A96125 #25A961
tetradic
#6125A9 #A9252B #6DA925 #25A9A3
square
#6125A9 #A9252B #6DA925 #25A9A3
split-complementary
#6125A9 #A9A325 #2BA925
monochromatic
#270F45 #441A77 #6125A9 #7F38D3 #9F6ADE

Accessibility & contrast

On white

8.95
#6125A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6125A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6125A9
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6125A9#FFFFFF#000000##FFFFFF
##6125A91.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#4F4966
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6125a9;
/* rgb */ color: rgb(97, 37, 169);
/* oklch */ color: oklch(43.1% 0.194 298.3);
Tailwind
colors: {
  custom: {
    50: '#9567c4',
    500: '#6125a9',
    950: '#000000',
  },
}
SCSS
$custom: #6125a9;
$custom-light: #9567c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6125a9",
  "rgb": {
    "r": 97,
    "g": 37,
    "b": 169
  },
  "hsl": {
    "h": 267.273,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.43064,
    "c": 0.19384,
    "h": 298.3
  },
  "luminance": 0.06729
}

Semantic roles & 50–950 ramp

primary
#6125A9
secondary
#99C465
accent
#E7419B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6125A9

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

Preview Lab → · Contrast checker → · Palette generator →

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