#6141CF#6141CF

#6141CF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 49.8% C 0.206 H 286.6°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#6141CF
RGBrgb(97, 65, 207)
HSLhsl(254, 60%, 53%)
HSVhsv(254, 69%, 81%)
CMYKcmyk(53.1%, 68.6%, 0%, 18.8%)
CIE-LABlab(39.29, 49.25, -68.79)
CIE-LCHlch(39.29, 84.60, 305.60°)
OKLaboklab(49.8% 0.059 -0.1977)
OKLCHoklch(49.8% 0.206 286.6)
XYZxyz(18.0792, 10.8260, 60.1564)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6141CF #AFCF41
analogous
#4168CF #6141CF #A841CF
triadic
#6141CF #CF6141 #41CF61
tetradic
#6141CF #CF4168 #AFCF41 #41CFA8
square
#6141CF #CF4168 #AFCF41 #41CFA8
split-complementary
#6141CF #CFA841 #68CF41
monochromatic
#321E77 #472BA8 #6141CF #8A72DB #B2A3E8

Accessibility & contrast

On white

6.63
#6141CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#6141CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6141CF
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6141CF#FFFFFF#000000##FFFFFF
##6141CF1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#346683
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #6141cf;
/* rgb */ color: rgb(97, 65, 207);
/* oklch */ color: oklch(49.8% 0.206 286.6);
Tailwind
colors: {
  custom: {
    50: '#9878df',
    500: '#6141cf',
    950: '#000000',
  },
}
SCSS
$custom: #6141cf;
$custom-light: #9878df;
$custom-dark: #000000;
JSON
{
  "hex": "#6141cf",
  "rgb": {
    "r": 97,
    "g": 65,
    "b": 207
  },
  "hsl": {
    "h": 253.521,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.498,
    "c": 0.2063,
    "h": 286.6
  },
  "luminance": 0.10827
}

Semantic roles & 50–950 ramp

primary
#6141CF
secondary
#C7D497
accent
#E345BF
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6141CF

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

Preview Lab → · Contrast checker → · Palette generator →

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