#6141CB#6141CB

#6141CB is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.5% C 0.202 H 287.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6141CB
RGBrgb(97, 65, 203)
HSLhsl(254, 57%, 53%)
HSVhsv(254, 68%, 80%)
CMYKcmyk(52.2%, 68%, 0%, 20.4%)
CIE-LABlab(38.96, 48.09, -67.01)
CIE-LCHlch(38.96, 82.49, 305.67°)
OKLaboklab(49.46% 0.0597 -0.1925)
OKLCHoklch(49.46% 0.202 287.2)
XYZxyz(17.5964, 10.6329, 57.6135)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6141CB #ABCB41
analogous
#4166CB #6141CB #A641CB
triadic
#6141CB #CB6141 #41CB61
tetradic
#6141CB #CB4166 #ABCB41 #41CBA6
square
#6141CB #CB4166 #ABCB41 #41CBA6
split-complementary
#6141CB #CBA641 #66CB41
monochromatic
#331F72 #482CA2 #6141CB #8971D8 #B1A1E5

Accessibility & contrast

On white

6.72
#6141CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#6141CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6141CB
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6141CB#FFFFFF#000000##FFFFFF
##6141CB1.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCF
Deuteranopia (green-blind)
#0058C8
Tritanopia (blue-blind)
#386481
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6141cb;
/* rgb */ color: rgb(97, 65, 203);
/* oklch */ color: oklch(49.5% 0.202 287.2);
Tailwind
colors: {
  custom: {
    50: '#9778dc',
    500: '#6141cb',
    950: '#000000',
  },
}
SCSS
$custom: #6141cb;
$custom-light: #9778dc;
$custom-dark: #000000;
JSON
{
  "hex": "#6141cb",
  "rgb": {
    "r": 97,
    "g": 65,
    "b": 203
  },
  "hsl": {
    "h": 253.913,
    "s": 57.025,
    "l": 52.549
  },
  "oklch": {
    "l": 0.49461,
    "c": 0.2015,
    "h": 287.2
  },
  "luminance": 0.10634
}

Semantic roles & 50–950 ramp

primary
#6141CB
secondary
#C4D296
accent
#E048BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6141CB

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

Preview Lab → · Contrast checker → · Palette generator →

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