#6129CD#6129CD

#6129CD is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.8% C 0.228 H 290.0°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6129CD
RGBrgb(97, 41, 205)
HSLhsl(260, 67%, 48%)
HSVhsv(260, 80%, 80%)
CMYKcmyk(52.7%, 80%, 0%, 19.6%)
CIE-LABlab(35.07, 60.13, -74.55)
CIE-LCHlch(35.07, 95.77, 308.89°)
OKLaboklab(46.78% 0.0779 -0.2144)
OKLCHoklch(46.78% 0.228 290)
XYZxyz(16.7390, 8.5343, 58.5111)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6129CD #95CD29
analogous
#2943CD #6129CD #B329CD
triadic
#6129CD #CD6129 #29CD61
tetradic
#6129CD #CD2943 #95CD29 #29CDB3
square
#6129CD #CD2943 #95CD29 #29CDB3
split-complementary
#6129CD #CDB329 #43CD29
monochromatic
#311567 #491F9A #6129CD #8456DD #A989E7

Accessibility & contrast

On white

7.76
#6129CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6129CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6129CD
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6129CD#FFFFFF#000000##FFFFFF
##6129CD1.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055D1
Deuteranopia (green-blind)
#004FCA
Tritanopia (blue-blind)
#385A7C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6129cd;
/* rgb */ color: rgb(97, 41, 205);
/* oklch */ color: oklch(46.8% 0.228 290.0);
Tailwind
colors: {
  custom: {
    50: '#996bde',
    500: '#6129cd',
    950: '#000000',
  },
}
SCSS
$custom: #6129cd;
$custom-light: #996bde;
$custom-dark: #000000;
JSON
{
  "hex": "#6129cd",
  "rgb": {
    "r": 97,
    "g": 41,
    "b": 205
  },
  "hsl": {
    "h": 260.488,
    "s": 66.667,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.22807,
    "h": 290
  },
  "luminance": 0.08535
}

Semantic roles & 50–950 ramp

primary
#6129CD
secondary
#B6D181
accent
#EA3EAF
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#0F0715
muted
#7F7A83

Preview Lab

Preview with #6129CD

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

Preview Lab → · Contrast checker → · Palette generator →

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