#6125A8#6125A8

#6125A8 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.193 H 298.5°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#6125A8
RGBrgb(97, 37, 168)
HSLhsl(267, 64%, 40%)
HSVhsv(267, 78%, 66%)
CMYKcmyk(42.3%, 78%, 0%, 34.1%)
CIE-LABlab(31.09, 52.34, -59.20)
CIE-LCHlch(31.09, 79.02, 311.48°)
OKLaboklab(42.98% 0.0921 -0.1694)
OKLCHoklch(42.98% 0.193 298.5)
XYZxyz(12.6574, 6.6915, 37.6629)
Luminance0.0669 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6125A8 #6CA825
analogous
#252BA8 #6125A8 #A225A8
triadic
#6125A8 #A86125 #25A861
tetradic
#6125A8 #A8252B #6CA825 #25A8A2
square
#6125A8 #A8252B #6CA825 #25A8A2
split-complementary
#6125A8 #A8A225 #2BA825
monochromatic
#270F44 #441A76 #6125A8 #7F37D3 #9F69DE

Accessibility & contrast

On white

8.98
#6125A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6125A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6125A8
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6125A8#FFFFFF#000000##FFFFFF
##6125A81.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AC
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#4F4866
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6125a8;
/* rgb */ color: rgb(97, 37, 168);
/* oklch */ color: oklch(43.0% 0.193 298.5);
Tailwind
colors: {
  custom: {
    50: '#9567c3',
    500: '#6125a8',
    950: '#000000',
  },
}
SCSS
$custom: #6125a8;
$custom-light: #9567c3;
$custom-dark: #000000;
JSON
{
  "hex": "#6125a8",
  "rgb": {
    "r": 97,
    "g": 37,
    "b": 168
  },
  "hsl": {
    "h": 267.481,
    "s": 63.902,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42975,
    "c": 0.19279,
    "h": 298.5
  },
  "luminance": 0.06692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6125A8

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

Preview Lab → · Contrast checker → · Palette generator →

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