#6128B0#6128B0

#6128B0 is a dark, vivid violet. Relative luminance 0.072; OKLCH L 44.0% C 0.198 H 296.2°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#6128B0
RGBrgb(97, 40, 176)
HSLhsl(265, 63%, 42%)
HSVhsv(265, 77%, 69%)
CMYKcmyk(44.9%, 77.3%, 0%, 31%)
CIE-LABlab(32.24, 53.08, -62.11)
CIE-LCHlch(32.24, 81.70, 310.52°)
OKLaboklab(44% 0.0874 -0.1779)
OKLCHoklch(44% 0.198 296.2)
XYZxyz(13.5229, 7.1932, 41.7418)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6128B0 #77B028
analogous
#2833B0 #6128B0 #A528B0
triadic
#6128B0 #B06128 #28B061
tetradic
#6128B0 #B02833 #77B028 #28B0A5
square
#6128B0 #B02833 #77B028 #28B0A5
split-complementary
#6128B0 #B0A528 #33B028
monochromatic
#2A114C #461D7E #6128B0 #7F41D4 #A073DF

Accessibility & contrast

On white

8.61
#6128B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#6128B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6128B0
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6128B0#FFFFFF#000000##FFFFFF
##6128B01.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DB4
Deuteranopia (green-blind)
#004AAD
Tritanopia (blue-blind)
#4B4D6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #6128b0;
/* rgb */ color: rgb(97, 40, 176);
/* oklch */ color: oklch(44.0% 0.198 296.2);
Tailwind
colors: {
  custom: {
    50: '#9669c9',
    500: '#6128b0',
    950: '#000000',
  },
}
SCSS
$custom: #6128b0;
$custom-light: #9669c9;
$custom-dark: #000000;
JSON
{
  "hex": "#6128b0",
  "rgb": {
    "r": 97,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 265.147,
    "s": 62.963,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43995,
    "c": 0.19825,
    "h": 296.2
  },
  "luminance": 0.07194
}

Semantic roles & 50–950 ramp

primary
#6128B0
secondary
#A1C66D
accent
#E642A1
background
#F9F6FC
surface
#F2EBF8
border
#CCC6D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6128B0

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

Preview Lab → · Contrast checker → · Palette generator →

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