#6141CA#6141CA

#6141CA is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.4% C 0.200 H 287.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#6141CA
RGBrgb(97, 65, 202)
HSLhsl(254, 56%, 52%)
HSVhsv(254, 68%, 79%)
CMYKcmyk(52%, 67.8%, 0%, 20.8%)
CIE-LABlab(38.87, 47.80, -66.57)
CIE-LCHlch(38.87, 81.95, 305.68°)
OKLaboklab(49.38% 0.0599 -0.1911)
OKLCHoklch(49.38% 0.2 287.4)
XYZxyz(17.4776, 10.5854, 56.9879)
Luminance0.1059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6141CA #AACA41
analogous
#4165CA #6141CA #A641CA
triadic
#6141CA #CA6141 #41CA61
tetradic
#6141CA #CA4165 #AACA41 #41CAA6
square
#6141CA #CA4165 #AACA41 #41CAA6
split-complementary
#6141CA #CAA641 #65CA41
monochromatic
#332071 #482DA1 #6141CA #8971D7 #B1A1E5

Accessibility & contrast

On white

6.74
#6141CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6141CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6141CA
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6141CA#FFFFFF#000000##FFFFFF
##6141CA1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FCE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#396480
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6141ca;
/* rgb */ color: rgb(97, 65, 202);
/* oklch */ color: oklch(49.4% 0.200 287.4);
Tailwind
colors: {
  custom: {
    50: '#9778db',
    500: '#6141ca',
    950: '#000000',
  },
}
SCSS
$custom: #6141ca;
$custom-light: #9778db;
$custom-dark: #000000;
JSON
{
  "hex": "#6141ca",
  "rgb": {
    "r": 97,
    "g": 65,
    "b": 202
  },
  "hsl": {
    "h": 254.015,
    "s": 56.379,
    "l": 52.353
  },
  "oklch": {
    "l": 0.49377,
    "c": 0.2003,
    "h": 287.4
  },
  "luminance": 0.10586
}

Semantic roles & 50–950 ramp

primary
#6141CA
secondary
#C3D196
accent
#E048BC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6141CA

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

Preview Lab → · Contrast checker → · Palette generator →

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