#6129A2#6129A2

#6129A2 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.182 H 299.6°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#6129A2
RGBrgb(97, 41, 162)
HSLhsl(268, 60%, 40%)
HSVhsv(268, 75%, 64%)
CMYKcmyk(40.1%, 74.7%, 0%, 36.5%)
CIE-LABlab(31.20, 49.07, -55.41)
CIE-LCHlch(31.20, 74.01, 311.53°)
OKLaboklab(42.89% 0.0901 -0.1583)
OKLCHoklch(42.89% 0.182 299.6)
XYZxyz(12.2427, 6.7358, 34.8305)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6129A2 #6AA229
analogous
#292DA2 #6129A2 #9E29A2
triadic
#6129A2 #A26129 #29A261
tetradic
#6129A2 #A2292D #6AA229 #29A29E
square
#6129A2 #A2292D #6AA229 #29A29E
split-complementary
#6129A2 #A29E29 #2DA229
monochromatic
#271040 #441D71 #6129A2 #7F3BCD #9F6CDA

Accessibility & contrast

On white

8.95
#6129A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#6129A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6129A2
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6129A2#FFFFFF#000000##FFFFFF
##6129A21.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6129a2;
/* rgb */ color: rgb(97, 41, 162);
/* oklch */ color: oklch(42.9% 0.182 299.6);
Tailwind
colors: {
  custom: {
    50: '#9468be',
    500: '#6129a2',
    950: '#000000',
  },
}
SCSS
$custom: #6129a2;
$custom-light: #9468be;
$custom-dark: #000000;
JSON
{
  "hex": "#6129a2",
  "rgb": {
    "r": 97,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 267.769,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.4289,
    "c": 0.18211,
    "h": 299.6
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#6129A2
secondary
#97C067
accent
#E3459A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6129A2

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

Preview Lab → · Contrast checker → · Palette generator →

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