#6341DD#6341DD

#6341DD is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.223 H 285.4°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#6341DD
RGBrgb(99, 65, 221)
HSLhsl(253, 70%, 56%)
HSVhsv(253, 71%, 87%)
CMYKcmyk(55.2%, 70.6%, 0%, 13.3%)
CIE-LABlab(40.66, 53.59, -74.58)
CIE-LCHlch(40.66, 91.84, 305.70°)
OKLaboklab(51.19% 0.0593 -0.2146)
OKLCHoklch(51.19% 0.223 285.4)
XYZxyz(20.0831, 11.6525, 69.5835)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341DD #BBDD41
analogous
#416DDD #6341DD #B141DD
triadic
#6341DD #DD6341 #41DD63
tetradic
#6341DD #DD416D #BBDD41 #41DDB1
square
#6341DD #DD416D #BBDD41 #41DDB1
split-complementary
#6341DD #DDB141 #6DDD41
monochromatic
#32198B #4422BF #6341DD #8E75E6 #B8A9F0

Accessibility & contrast

On white

6.30
#6341DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#6341DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341DD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341DD#FFFFFF#000000##FFFFFF
##6341DD1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E2
Deuteranopia (green-blind)
#005BDA
Tritanopia (blue-blind)
#2A6B8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6341dd;
/* rgb */ color: rgb(99, 65, 221);
/* oklch */ color: oklch(51.2% 0.223 285.4);
Tailwind
colors: {
  custom: {
    50: '#9b79e9',
    500: '#6341dd',
    950: '#000000',
  },
}
SCSS
$custom: #6341dd;
$custom-light: #9b79e9;
$custom-dark: #000000;
JSON
{
  "hex": "#6341dd",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 221
  },
  "hsl": {
    "h": 253.077,
    "s": 69.643,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5119,
    "c": 0.22263,
    "h": 285.4
  },
  "luminance": 0.11654
}

Semantic roles & 50–950 ramp

primary
#6341DD
secondary
#CFDD9D
accent
#EC3BC6
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6341DD

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

Preview Lab → · Contrast checker → · Palette generator →

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