#6142BD#6142BD

#6142BD is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.183 H 289.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#6142BD
RGBrgb(97, 66, 189)
HSLhsl(255, 48%, 50%)
HSVhsv(255, 65%, 74%)
CMYKcmyk(48.7%, 65.1%, 0%, 25.9%)
CIE-LABlab(38.04, 43.49, -60.34)
CIE-LCHlch(38.04, 74.38, 305.78°)
OKLaboklab(48.46% 0.0606 -0.1728)
OKLCHoklch(48.46% 0.183 289.3)
XYZxyz(16.0607, 10.1113, 49.2397)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6142BD #9EBD42
analogous
#4261BD #6142BD #9E42BD
triadic
#6142BD #BD6142 #42BD61
tetradic
#6142BD #BD4261 #9EBD42 #42BD9E
square
#6142BD #BD4261 #9EBD42 #42BD9E
split-complementary
#6142BD #BD9E42 #61BD42
monochromatic
#322262 #4A3290 #6142BD #876FCD #AD9DDD

Accessibility & contrast

On white

6.95
#6142BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6142BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6142BD
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6142BD#FFFFFF#000000##FFFFFF
##6142BD1.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#426079
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6142bd;
/* rgb */ color: rgb(97, 66, 189);
/* oklch */ color: oklch(48.5% 0.183 289.3);
Tailwind
colors: {
  custom: {
    50: '#9578d2',
    500: '#6142bd',
    950: '#000000',
  },
}
SCSS
$custom: #6142bd;
$custom-light: #9578d2;
$custom-dark: #000000;
JSON
{
  "hex": "#6142bd",
  "rgb": {
    "r": 97,
    "g": 66,
    "b": 189
  },
  "hsl": {
    "h": 255.122,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.48455,
    "c": 0.18318,
    "h": 289.3
  },
  "luminance": 0.10112
}

Semantic roles & 50–950 ramp

primary
#6142BD
secondary
#BBC992
accent
#D850B6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6142BD

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

Preview Lab → · Contrast checker → · Palette generator →

#6142BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva