#6128A3#6128A3

#6128A3 is a dark, vivid violet. Relative luminance 0.067; OKLCH L 42.9% C 0.184 H 299.5°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#6128A3
RGBrgb(97, 40, 163)
HSLhsl(268, 61%, 40%)
HSVhsv(268, 75%, 64%)
CMYKcmyk(40.5%, 75.5%, 0%, 36.1%)
CIE-LABlab(31.12, 49.78, -56.14)
CIE-LCHlch(31.12, 75.03, 311.57°)
OKLaboklab(42.86% 0.0908 -0.1604)
OKLCHoklch(42.86% 0.184 299.5)
XYZxyz(12.2978, 6.7032, 35.2892)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6128A3 #6AA328
analogous
#282CA3 #6128A3 #9F28A3
triadic
#6128A3 #A36128 #28A361
tetradic
#6128A3 #A3282C #6AA328 #28A39F
square
#6128A3 #A3282C #6AA328 #28A39F
split-complementary
#6128A3 #A39F28 #2CA328
monochromatic
#271041 #441C72 #6128A3 #7F3ACF #9F6BDB

Accessibility & contrast

On white

8.97
#6128A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#6128A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6128A3
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6128A3#FFFFFF#000000##FFFFFF
##6128A31.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A6
Deuteranopia (green-blind)
#0048A1
Tritanopia (blue-blind)
#514864
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #6128a3;
/* rgb */ color: rgb(97, 40, 163);
/* oklch */ color: oklch(42.9% 0.184 299.5);
Tailwind
colors: {
  custom: {
    50: '#9468bf',
    500: '#6128a3',
    950: '#000000',
  },
}
SCSS
$custom: #6128a3;
$custom-light: #9468bf;
$custom-dark: #000000;
JSON
{
  "hex": "#6128a3",
  "rgb": {
    "r": 97,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 267.805,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42862,
    "c": 0.18431,
    "h": 299.5
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#6128A3
secondary
#97C166
accent
#E4449A
background
#F9F6FB
surface
#F2EBF7
border
#CCC6D0
text
#0E0612
muted
#7E7A81

Preview Lab

Preview with #6128A3

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

Preview Lab → · Contrast checker → · Palette generator →

#6128A3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva