#6125A2#6125A2

#6125A2 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.5% C 0.186 H 300.2°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#6125A2
RGBrgb(97, 37, 162)
HSLhsl(269, 63%, 39%)
HSVhsv(269, 77%, 64%)
CMYKcmyk(40.1%, 77.2%, 0%, 36.5%)
CIE-LABlab(30.58, 50.85, -56.42)
CIE-LCHlch(30.58, 75.95, 312.03°)
OKLaboklab(42.45% 0.0937 -0.1612)
OKLCHoklch(42.45% 0.186 300.2)
XYZxyz(12.1113, 6.4730, 34.7868)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6125A2 #66A225
analogous
#2528A2 #6125A2 #A025A2
triadic
#6125A2 #A26125 #25A261
tetradic
#6125A2 #A22528 #66A225 #25A2A0
square
#6125A2 #A22528 #66A225 #25A2A0
split-complementary
#6125A2 #A2A025 #28A225
monochromatic
#250E3E #431A70 #6125A2 #7F34D1 #9E65DC

Accessibility & contrast

On white

9.15
#6125A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#6125A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6125A2
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6125A2#FFFFFF#000000##FFFFFF
##6125A21.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#524662
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6125a2;
/* rgb */ color: rgb(97, 37, 162);
/* oklch */ color: oklch(42.5% 0.186 300.2);
Tailwind
colors: {
  custom: {
    50: '#9466be',
    500: '#6125a2',
    950: '#000000',
  },
}
SCSS
$custom: #6125a2;
$custom-light: #9466be;
$custom-dark: #000000;
JSON
{
  "hex": "#6125a2",
  "rgb": {
    "r": 97,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 268.8,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42453,
    "c": 0.18648,
    "h": 300.2
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#6125A2
secondary
#93C261
accent
#E64297
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6125A2

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

Preview Lab → · Contrast checker → · Palette generator →

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