#6146DD#6146DD

#6146DD is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 51.7% C 0.217 H 284.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#6146DD
RGBrgb(97, 70, 221)
HSLhsl(251, 69%, 57%)
HSVhsv(251, 68%, 87%)
CMYKcmyk(56.1%, 68.3%, 0%, 13.3%)
CIE-LABlab(41.44, 50.64, -73.31)
CIE-LCHlch(41.44, 89.10, 304.63°)
OKLaboklab(51.7% 0.0525 -0.2109)
OKLCHoklch(51.7% 0.217 284)
XYZxyz(20.1671, 12.1409, 69.6733)
Luminance0.1214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6146DD #C2DD46
analogous
#4677DD #6146DD #AC46DD
triadic
#6146DD #DD6146 #46DD61
tetradic
#6146DD #DD4677 #C2DD46 #46DDAC
square
#6146DD #DD4677 #C2DD46 #46DDAC
split-complementary
#6146DD #DDAC46 #77DD46
monochromatic
#2F1A8E #4024C2 #6146DD #8D7AE7 #B9ADF0

Accessibility & contrast

On white

6.13
#6146DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#6146DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6146DD
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6146DD#FFFFFF#000000##FFFFFF
##6146DD1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005DDA
Tritanopia (blue-blind)
#226D8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6146dd;
/* rgb */ color: rgb(97, 70, 221);
/* oklch */ color: oklch(51.7% 0.217 284.0);
Tailwind
colors: {
  custom: {
    50: '#9a7ce9',
    500: '#6146dd',
    950: '#000000',
  },
}
SCSS
$custom: #6146dd;
$custom-light: #9a7ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#6146dd",
  "rgb": {
    "r": 97,
    "g": 70,
    "b": 221
  },
  "hsl": {
    "h": 250.728,
    "s": 68.95,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.21738,
    "h": 284
  },
  "luminance": 0.12142
}

Semantic roles & 50–950 ramp

primary
#6146DD
secondary
#D3DEA1
accent
#EC3CCC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6146DD

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

Preview Lab → · Contrast checker → · Palette generator →

#6146DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva