#6125AF#6125AF

#6125AF is a dark, highly saturated violet. Relative luminance 0.070; OKLCH L 43.6% C 0.200 H 296.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#6125AF
RGBrgb(97, 37, 175)
HSLhsl(266, 65%, 42%)
HSVhsv(266, 79%, 69%)
CMYKcmyk(44.6%, 78.9%, 0%, 31.4%)
CIE-LABlab(31.71, 54.09, -62.38)
CIE-LCHlch(31.71, 82.57, 310.93°)
OKLaboklab(43.6% 0.0901 -0.1787)
OKLCHoklch(43.6% 0.2 296.8)
XYZxyz(13.3271, 6.9594, 41.1903)
Luminance0.0696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6125AF #73AF25
analogous
#252EAF #6125AF #A625AF
triadic
#6125AF #AF6125 #25AF61
tetradic
#6125AF #AF252E #73AF25 #25AFA6
square
#6125AF #AF252E #73AF25 #25AFA6
split-complementary
#6125AF #AFA625 #2EAF25
monochromatic
#29104A #451A7C #6125AF #7F3CD6 #A06EE0

Accessibility & contrast

On white

8.78
#6125AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#6125AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6125AF
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6125AF#FFFFFF#000000##FFFFFF
##6125AF1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#4C4B6A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6125af;
/* rgb */ color: rgb(97, 37, 175);
/* oklch */ color: oklch(43.6% 0.200 296.8);
Tailwind
colors: {
  custom: {
    50: '#9667c8',
    500: '#6125af',
    950: '#000000',
  },
}
SCSS
$custom: #6125af;
$custom-light: #9667c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6125af",
  "rgb": {
    "r": 97,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 266.087,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.43599,
    "c": 0.20013,
    "h": 296.8
  },
  "luminance": 0.0696
}

Semantic roles & 50–950 ramp

primary
#6125AF
secondary
#9EC769
accent
#E8409F
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6125AF

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

Preview Lab → · Contrast checker → · Palette generator →

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