#6128AD#6128AD

#6128AD is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.7% C 0.195 H 296.9°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#6128AD
RGBrgb(97, 40, 173)
HSLhsl(266, 62%, 42%)
HSVhsv(266, 77%, 68%)
CMYKcmyk(43.9%, 76.9%, 0%, 32.2%)
CIE-LABlab(31.98, 52.32, -60.75)
CIE-LCHlch(31.98, 80.17, 310.73°)
OKLaboklab(43.73% 0.0882 -0.1739)
OKLCHoklch(43.73% 0.195 296.9)
XYZxyz(13.2294, 7.0758, 40.1958)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6128AD #74AD28
analogous
#2832AD #6128AD #A428AD
triadic
#6128AD #AD6128 #28AD61
tetradic
#6128AD #AD2832 #74AD28 #28ADA4
square
#6128AD #AD2832 #74AD28 #28ADA4
split-complementary
#6128AD #ADA428 #32AD28
monochromatic
#29114A #451D7B #6128AD #7F3FD3 #A071DE

Accessibility & contrast

On white

8.69
#6128AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6128AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6128AD
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6128AD#FFFFFF#000000##FFFFFF
##6128AD1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB1
Deuteranopia (green-blind)
#004AAA
Tritanopia (blue-blind)
#4D4C69
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6128ad;
/* rgb */ color: rgb(97, 40, 173);
/* oklch */ color: oklch(43.7% 0.195 296.9);
Tailwind
colors: {
  custom: {
    50: '#9568c6',
    500: '#6128ad',
    950: '#000000',
  },
}
SCSS
$custom: #6128ad;
$custom-light: #9568c6;
$custom-dark: #000000;
JSON
{
  "hex": "#6128ad",
  "rgb": {
    "r": 97,
    "g": 40,
    "b": 173
  },
  "hsl": {
    "h": 265.714,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.43729,
    "c": 0.19505,
    "h": 296.9
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#6128AD
secondary
#9FC56C
accent
#E642A0
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6128AD

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

Preview Lab → · Contrast checker → · Palette generator →

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