#6126A9#6126A9

#6126A9 is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.2% C 0.193 H 298.2°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#6126A9
RGBrgb(97, 38, 169)
HSLhsl(267, 63%, 41%)
HSVhsv(267, 78%, 66%)
CMYKcmyk(42.6%, 77.5%, 0%, 33.7%)
CIE-LABlab(31.33, 52.17, -59.41)
CIE-LCHlch(31.33, 79.07, 311.28°)
OKLaboklab(43.17% 0.091 -0.17)
OKLCHoklch(43.17% 0.193 298.2)
XYZxyz(12.7825, 6.7920, 38.1659)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6126A9 #6EA926
analogous
#262CA9 #6126A9 #A226A9
triadic
#6126A9 #A96126 #26A961
tetradic
#6126A9 #A9262C #6EA926 #26A9A2
square
#6126A9 #A9262C #6EA926 #26A9A2
split-complementary
#6126A9 #A9A226 #2CA926
monochromatic
#281045 #441B77 #6126A9 #7F3AD3 #9F6CDE

Accessibility & contrast

On white

8.90
#6126A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#6126A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6126A9
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6126A9#FFFFFF#000000##FFFFFF
##6126A91.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AAD
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#4F4967
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #6126a9;
/* rgb */ color: rgb(97, 38, 169);
/* oklch */ color: oklch(43.2% 0.193 298.2);
Tailwind
colors: {
  custom: {
    50: '#9567c4',
    500: '#6126a9',
    950: '#000000',
  },
}
SCSS
$custom: #6126a9;
$custom-light: #9567c4;
$custom-dark: #000000;
JSON
{
  "hex": "#6126a9",
  "rgb": {
    "r": 97,
    "g": 38,
    "b": 169
  },
  "hsl": {
    "h": 267.023,
    "s": 63.285,
    "l": 40.588
  },
  "oklch": {
    "l": 0.43166,
    "c": 0.19284,
    "h": 298.2
  },
  "luminance": 0.06792
}

Semantic roles & 50–950 ramp

primary
#6126A9
secondary
#9AC467
accent
#E6419C
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0613
muted
#7E7A82

Preview Lab

Preview with #6126A9

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

Preview Lab → · Contrast checker → · Palette generator →

#6126A9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva