#6129C2#6129C2

#6129C2 is a mid, highly saturated violet. Relative luminance 0.080; OKLCH L 45.7% C 0.216 H 292.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#6129C2
RGBrgb(97, 41, 194)
HSLhsl(262, 65%, 46%)
HSVhsv(262, 79%, 76%)
CMYKcmyk(50%, 78.9%, 0%, 23.9%)
CIE-LABlab(34.03, 57.28, -69.84)
CIE-LCHlch(34.03, 90.33, 309.36°)
OKLaboklab(45.74% 0.0814 -0.2006)
OKLCHoklch(45.74% 0.216 292.1)
XYZxyz(15.4576, 8.0217, 51.7624)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6129C2 #8AC229
analogous
#293DC2 #6129C2 #AD29C2
triadic
#6129C2 #C26129 #29C261
tetradic
#6129C2 #C2293D #8AC229 #29C2AD
square
#6129C2 #C2293D #8AC229 #29C2AD
split-complementary
#6129C2 #C2AD29 #3DC229
monochromatic
#2E145D #481E8F #6129C2 #814EDA #A581E4

Accessibility & contrast

On white

8.06
#6129C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6129C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6129C2
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6129C2#FFFFFF#000000##FFFFFF
##6129C21.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C6
Deuteranopia (green-blind)
#004DBF
Tritanopia (blue-blind)
#405576
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6129c2;
/* rgb */ color: rgb(97, 41, 194);
/* oklch */ color: oklch(45.7% 0.216 292.1);
Tailwind
colors: {
  custom: {
    50: '#986ad6',
    500: '#6129c2',
    950: '#000000',
  },
}
SCSS
$custom: #6129c2;
$custom-light: #986ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#6129c2",
  "rgb": {
    "r": 97,
    "g": 41,
    "b": 194
  },
  "hsl": {
    "h": 261.961,
    "s": 65.106,
    "l": 46.078
  },
  "oklch": {
    "l": 0.45739,
    "c": 0.21646,
    "h": 292.1
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#6129C2
secondary
#AFCD7A
accent
#E840AA
background
#FAF6FD
surface
#F3EBFA
border
#CDC6D3
text
#0F0714
muted
#7F7A83

Preview Lab

Preview with #6129C2

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

Preview Lab → · Contrast checker → · Palette generator →

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