#6125AE#6125AE

#6125AE is a dark, vivid violet. Relative luminance 0.069; OKLCH L 43.5% C 0.199 H 297.0°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#6125AE
RGBrgb(97, 37, 174)
HSLhsl(266, 65%, 41%)
HSVhsv(266, 79%, 68%)
CMYKcmyk(44.3%, 78.7%, 0%, 31.8%)
CIE-LABlab(31.62, 53.84, -61.93)
CIE-LCHlch(31.62, 82.06, 311.00°)
OKLaboklab(43.51% 0.0904 -0.1774)
OKLCHoklch(43.51% 0.199 297)
XYZxyz(13.2293, 6.9202, 40.6749)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6125AE #72AE25
analogous
#252EAE #6125AE #A625AE
triadic
#6125AE #AE6125 #25AE61
tetradic
#6125AE #AE252E #72AE25 #25AEA6
square
#6125AE #AE252E #72AE25 #25AEA6
split-complementary
#6125AE #AEA625 #2EAE25
monochromatic
#291049 #451A7C #6125AE #7F3BD5 #A06DE0

Accessibility & contrast

On white

8.81
#6125AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#6125AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6125AE
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6125AE#FFFFFF#000000##FFFFFF
##6125AE1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB2
Deuteranopia (green-blind)
#0049AB
Tritanopia (blue-blind)
#4C4B69
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6125ae;
/* rgb */ color: rgb(97, 37, 174);
/* oklch */ color: oklch(43.5% 0.199 297.0);
Tailwind
colors: {
  custom: {
    50: '#9667c7',
    500: '#6125ae',
    950: '#000000',
  },
}
SCSS
$custom: #6125ae;
$custom-light: #9667c7;
$custom-dark: #000000;
JSON
{
  "hex": "#6125ae",
  "rgb": {
    "r": 97,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 266.277,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.43509,
    "c": 0.19908,
    "h": 297
  },
  "luminance": 0.06921
}

Semantic roles & 50–950 ramp

primary
#6125AE
secondary
#9DC668
accent
#E8409E
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6125AE

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

Preview Lab → · Contrast checker → · Palette generator →

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