#6141CC#6141CC

#6141CC is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.5% C 0.203 H 287.1°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#6141CC
RGBrgb(97, 65, 204)
HSLhsl(254, 58%, 53%)
HSVhsv(254, 68%, 80%)
CMYKcmyk(52.5%, 68.1%, 0%, 20%)
CIE-LABlab(39.04, 48.38, -67.46)
CIE-LCHlch(39.04, 83.02, 305.65°)
OKLaboklab(49.55% 0.0595 -0.1938)
OKLCHoklch(49.55% 0.203 287.1)
XYZxyz(17.7159, 10.6807, 58.2431)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6141CC #ACCC41
analogous
#4166CC #6141CC #A641CC
triadic
#6141CC #CC6141 #41CC61
tetradic
#6141CC #CC4166 #ACCC41 #41CCA6
square
#6141CC #CC4166 #ACCC41 #41CCA6
split-complementary
#6141CC #CCA641 #66CC41
monochromatic
#321F74 #482CA4 #6141CC #8971D9 #B1A1E6

Accessibility & contrast

On white

6.70
#6141CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#6141CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6141CC
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6141CC#FFFFFF#000000##FFFFFF
##6141CC1.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD0
Deuteranopia (green-blind)
#0058C9
Tritanopia (blue-blind)
#376581
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6141cc;
/* rgb */ color: rgb(97, 65, 204);
/* oklch */ color: oklch(49.5% 0.203 287.1);
Tailwind
colors: {
  custom: {
    50: '#9878dd',
    500: '#6141cc',
    950: '#000000',
  },
}
SCSS
$custom: #6141cc;
$custom-light: #9878dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6141cc",
  "rgb": {
    "r": 97,
    "g": 65,
    "b": 204
  },
  "hsl": {
    "h": 253.813,
    "s": 57.676,
    "l": 52.745
  },
  "oklch": {
    "l": 0.49546,
    "c": 0.20271,
    "h": 287.1
  },
  "luminance": 0.10682
}

Semantic roles & 50–950 ramp

primary
#6141CC
secondary
#C5D396
accent
#E147BD
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0F0915
muted
#7E7B83

Preview Lab

Preview with #6141CC

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

Preview Lab → · Contrast checker → · Palette generator →

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