#6142CF#6142CF

#6142CF is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 49.9% C 0.205 H 286.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#6142CF
RGBrgb(97, 66, 207)
HSLhsl(253, 59%, 54%)
HSVhsv(253, 68%, 81%)
CMYKcmyk(53.1%, 68.1%, 0%, 18.8%)
CIE-LABlab(39.48, 48.71, -68.47)
CIE-LCHlch(39.48, 84.03, 305.43°)
OKLaboklab(49.94% 0.0582 -0.1967)
OKLCHoklch(49.94% 0.205 286.5)
XYZxyz(18.1371, 10.9419, 60.1757)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6142CF #B0CF42
analogous
#4269CF #6142CF #A742CF
triadic
#6142CF #CF6142 #42CF61
tetradic
#6142CF #CF4269 #B0CF42 #42CFA7
square
#6142CF #CF4269 #B0CF42 #42CFA7
split-complementary
#6142CF #CFA742 #69CF42
monochromatic
#321F78 #472BA9 #6142CF #8A73DB #B3A4E8

Accessibility & contrast

On white

6.59
#6142CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#6142CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6142CF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6142CF#FFFFFF#000000##FFFFFF
##6142CF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6142cf;
/* rgb */ color: rgb(97, 66, 207);
/* oklch */ color: oklch(49.9% 0.205 286.5);
Tailwind
colors: {
  custom: {
    50: '#9879df',
    500: '#6142cf',
    950: '#000000',
  },
}
SCSS
$custom: #6142cf;
$custom-light: #9879df;
$custom-dark: #000000;
JSON
{
  "hex": "#6142cf",
  "rgb": {
    "r": 97,
    "g": 66,
    "b": 207
  },
  "hsl": {
    "h": 253.191,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49941,
    "c": 0.20515,
    "h": 286.5
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#6142CF
secondary
#C7D598
accent
#E345C0
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #6142CF

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

Preview Lab → · Contrast checker → · Palette generator →

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