#6125AC#6125AC

#6125AC is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.197 H 297.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#6125AC
RGBrgb(97, 37, 172)
HSLhsl(267, 65%, 41%)
HSVhsv(267, 78%, 67%)
CMYKcmyk(43.6%, 78.5%, 0%, 32.5%)
CIE-LABlab(31.45, 53.34, -61.02)
CIE-LCHlch(31.45, 81.05, 311.16°)
OKLaboklab(43.33% 0.091 -0.1747)
OKLCHoklch(43.33% 0.197 297.5)
XYZxyz(13.0358, 6.8428, 39.6557)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6125AC #70AC25
analogous
#252CAC #6125AC #A425AC
triadic
#6125AC #AC6125 #25AC61
tetradic
#6125AC #AC252C #70AC25 #25ACA4
square
#6125AC #AC252C #70AC25 #25ACA4
split-complementary
#6125AC #ACA425 #2CAC25
monochromatic
#280F47 #451A7A #6125AC #7E3AD5 #9F6CDF

Accessibility & contrast

On white

8.87
#6125AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#6125AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6125AC
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6125AC#FFFFFF#000000##FFFFFF
##6125AC1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB0
Deuteranopia (green-blind)
#0048A9
Tritanopia (blue-blind)
#4D4A68
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6125ac;
/* rgb */ color: rgb(97, 37, 172);
/* oklch */ color: oklch(43.3% 0.197 297.5);
Tailwind
colors: {
  custom: {
    50: '#9567c6',
    500: '#6125ac',
    950: '#000000',
  },
}
SCSS
$custom: #6125ac;
$custom-light: #9567c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6125ac",
  "rgb": {
    "r": 97,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 266.667,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.4333,
    "c": 0.19699,
    "h": 297.5
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#6125AC
secondary
#9CC667
accent
#E8409D
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6125AC

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

Preview Lab → · Contrast checker → · Palette generator →

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