#6141AF#6141AF

#6141AF is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.2% C 0.167 H 292.2°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#6141AF
RGBrgb(97, 65, 175)
HSLhsl(257, 46%, 47%)
HSVhsv(257, 63%, 69%)
CMYKcmyk(44.6%, 62.9%, 0%, 31.4%)
CIE-LABlab(36.77, 40.03, -54.13)
CIE-LCHlch(36.77, 67.33, 306.48°)
OKLaboklab(47.21% 0.063 -0.1546)
OKLCHoklch(47.21% 0.167 292.2)
XYZxyz(14.5558, 9.4167, 41.5998)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6141AF #8FAF41
analogous
#4158AF #6141AF #9841AF
triadic
#6141AF #AF6141 #41AF61
tetradic
#6141AF #AF4158 #8FAF41 #41AF98
square
#6141AF #AF4158 #8FAF41 #41AF98
split-complementary
#6141AF #AF9841 #58AF41
monochromatic
#302056 #483082 #6141AF #8367C6 #A793D7

Accessibility & contrast

On white

7.28
#6141AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#6141AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6141AF
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6141AF#FFFFFF#000000##FFFFFF
##6141AF1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B2
Deuteranopia (green-blind)
#0054AD
Tritanopia (blue-blind)
#4A5A72
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6141af;
/* rgb */ color: rgb(97, 65, 175);
/* oklch */ color: oklch(47.2% 0.167 292.2);
Tailwind
colors: {
  custom: {
    50: '#9477c8',
    500: '#6141af',
    950: '#000000',
  },
}
SCSS
$custom: #6141af;
$custom-light: #9477c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6141af",
  "rgb": {
    "r": 97,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 257.455,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.47205,
    "c": 0.16696,
    "h": 292.2
  },
  "luminance": 0.09417
}

Semantic roles & 50–950 ramp

primary
#6141AF
secondary
#B2C289
accent
#D552AF
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6141AF

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

Preview Lab → · Contrast checker → · Palette generator →

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