#6141BF#6141BF

#6141BF is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.5% C 0.187 H 289.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#6141BF
RGBrgb(97, 65, 191)
HSLhsl(255, 50%, 50%)
HSVhsv(255, 66%, 75%)
CMYKcmyk(49.2%, 66%, 0%, 25.1%)
CIE-LABlab(37.99, 44.63, -61.59)
CIE-LCHlch(37.99, 76.06, 305.92°)
OKLaboklab(48.47% 0.0614 -0.1765)
OKLCHoklch(48.47% 0.187 289.2)
XYZxyz(16.2213, 10.0829, 50.3716)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6141BF #9FBF41
analogous
#4160BF #6141BF #A041BF
triadic
#6141BF #BF6141 #41BF61
tetradic
#6141BF #BF4160 #9FBF41 #41BFA0
square
#6141BF #BF4160 #9FBF41 #41BFA0
split-complementary
#6141BF #BFA041 #60BF41
monochromatic
#322264 #4A3192 #6141BF #876FCE #AD9DDE

Accessibility & contrast

On white

6.96
#6141BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6141BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6141BF
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6141BF#FFFFFF#000000##FFFFFF
##6141BF1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#0056BC
Tritanopia (blue-blind)
#41607A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6141bf;
/* rgb */ color: rgb(97, 65, 191);
/* oklch */ color: oklch(48.5% 0.187 289.2);
Tailwind
colors: {
  custom: {
    50: '#9678d3',
    500: '#6141bf',
    950: '#000000',
  },
}
SCSS
$custom: #6141bf;
$custom-light: #9678d3;
$custom-dark: #000000;
JSON
{
  "hex": "#6141bf",
  "rgb": {
    "r": 97,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 255.238,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.48468,
    "c": 0.18691,
    "h": 289.2
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#6141BF
secondary
#BCCA92
accent
#D94FB6
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #6141BF

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

Preview Lab → · Contrast checker → · Palette generator →

#6141BF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva