#6141D9#6141D9

#6141D9 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 50.7% C 0.218 H 285.2°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#6141D9
RGBrgb(97, 65, 217)
HSLhsl(253, 67%, 55%)
HSVhsv(253, 70%, 85%)
CMYKcmyk(55.3%, 70%, 0%, 14.9%)
CIE-LABlab(40.13, 52.14, -73.16)
CIE-LCHlch(40.13, 89.84, 305.48°)
OKLaboklab(50.67% 0.0573 -0.2105)
OKLCHoklch(50.67% 0.218 285.2)
XYZxyz(19.3407, 11.3306, 66.8001)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6141D9 #B9D941
analogous
#416DD9 #6141D9 #AD41D9
triadic
#6141D9 #D96141 #41D961
tetradic
#6141D9 #D9416D #B9D941 #41D9AD
square
#6141D9 #D9416D #B9D941 #41D9AD
split-complementary
#6141D9 #D9AD41 #6DD941
monochromatic
#311B85 #4425B8 #6141D9 #8B74E3 #B6A7ED

Accessibility & contrast

On white

6.43
#6141D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#6141D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6141D9
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6141D9#FFFFFF#000000##FFFFFF
##6141D91.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DE
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#296988
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #6141d9;
/* rgb */ color: rgb(97, 65, 217);
/* oklch */ color: oklch(50.7% 0.218 285.2);
Tailwind
colors: {
  custom: {
    50: '#9a78e6',
    500: '#6141d9',
    950: '#000000',
  },
}
SCSS
$custom: #6141d9;
$custom-light: #9a78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#6141d9",
  "rgb": {
    "r": 97,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 252.632,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.50665,
    "c": 0.21815,
    "h": 285.2
  },
  "luminance": 0.11332
}

Semantic roles & 50–950 ramp

primary
#6141D9
secondary
#CDDB9B
accent
#EA3EC6
background
#FAF7FE
surface
#F4EDFC
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6141D9

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

Preview Lab → · Contrast checker → · Palette generator →

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