#6341E8#6341E8

#6341E8 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.2% C 0.235 H 284.0°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#6341E8
RGBrgb(99, 65, 232)
HSLhsl(252, 78%, 58%)
HSVhsv(252, 72%, 91%)
CMYKcmyk(57.3%, 72%, 0%, 9%)
CIE-LABlab(41.62, 56.73, -79.26)
CIE-LCHlch(41.62, 97.47, 305.59°)
OKLaboklab(52.17% 0.057 -0.2283)
OKLCHoklch(52.17% 0.235 284)
XYZxyz(21.5969, 12.2581, 77.5563)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6341E8 #C6E841
analogous
#4172E8 #6341E8 #B741E8
triadic
#6341E8 #E86341 #41E863
tetradic
#6341E8 #E84172 #C6E841 #41E8B7
square
#6341E8 #E84172 #C6E841 #41E8B7
split-complementary
#6341E8 #E8B741 #72E841
monochromatic
#2F139C #3F19D2 #6341E8 #9078EF #BDAEF5

Accessibility & contrast

On white

6.08
#6341E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#6341E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6341E8
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6341E8#FFFFFF#000000##FFFFFF
##6341E81.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067ED
Deuteranopia (green-blind)
#005DE5
Tritanopia (blue-blind)
#176F91
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #6341e8;
/* rgb */ color: rgb(99, 65, 232);
/* oklch */ color: oklch(52.2% 0.235 284.0);
Tailwind
colors: {
  custom: {
    50: '#9d79f1',
    500: '#6341e8',
    950: '#000000',
  },
}
SCSS
$custom: #6341e8;
$custom-light: #9d79f1;
$custom-dark: #000000;
JSON
{
  "hex": "#6341e8",
  "rgb": {
    "r": 99,
    "g": 65,
    "b": 232
  },
  "hsl": {
    "h": 252.216,
    "s": 78.404,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52169,
    "c": 0.23531,
    "h": 284
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#6341E8
secondary
#D6E4A1
accent
#F533CD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #6341E8

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

Preview Lab → · Contrast checker → · Palette generator →

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