#6126A7#6126A7

#6126A7 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 43.0% C 0.191 H 298.7°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#6126A7
RGBrgb(97, 38, 167)
HSLhsl(267, 63%, 40%)
HSVhsv(267, 77%, 65%)
CMYKcmyk(41.9%, 77.2%, 0%, 34.5%)
CIE-LABlab(31.15, 51.67, -58.50)
CIE-LCHlch(31.15, 78.05, 311.45°)
OKLaboklab(42.99% 0.0915 -0.1673)
OKLCHoklch(42.99% 0.191 298.7)
XYZxyz(12.5961, 6.7174, 37.1847)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6126A7 #6CA726
analogous
#262BA7 #6126A7 #A226A7
triadic
#6126A7 #A76126 #26A761
tetradic
#6126A7 #A7262B #6CA726 #26A7A2
square
#6126A7 #A7262B #6CA726 #26A7A2
split-complementary
#6126A7 #A7A226 #2BA726
monochromatic
#270F43 #441B75 #6126A7 #7F38D2 #9F6ADD

Accessibility & contrast

On white

8.96
#6126A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6126A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6126A7
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6126A7#FFFFFF#000000##FFFFFF
##6126A71.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049AB
Deuteranopia (green-blind)
#0048A5
Tritanopia (blue-blind)
#504865
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6126a7;
/* rgb */ color: rgb(97, 38, 167);
/* oklch */ color: oklch(43.0% 0.191 298.7);
Tailwind
colors: {
  custom: {
    50: '#9567c2',
    500: '#6126a7',
    950: '#000000',
  },
}
SCSS
$custom: #6126a7;
$custom-light: #9567c2;
$custom-dark: #000000;
JSON
{
  "hex": "#6126a7",
  "rgb": {
    "r": 97,
    "g": 38,
    "b": 167
  },
  "hsl": {
    "h": 267.442,
    "s": 62.927,
    "l": 40.196
  },
  "oklch": {
    "l": 0.42991,
    "c": 0.19072,
    "h": 298.7
  },
  "luminance": 0.06718
}

Semantic roles & 50–950 ramp

primary
#6126A7
secondary
#98C365
accent
#E6429B
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6126A7

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

Preview Lab → · Contrast checker → · Palette generator →

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