#6348E1#6348E1

#6348E1 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.5% C 0.220 H 283.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#6348E1
RGBrgb(99, 72, 225)
HSLhsl(251, 72%, 58%)
HSVhsv(251, 68%, 88%)
CMYKcmyk(56%, 68%, 0%, 11.8%)
CIE-LABlab(42.34, 51.03, -74.11)
CIE-LCHlch(42.34, 89.98, 304.55°)
OKLaboklab(52.5% 0.0529 -0.2132)
OKLCHoklch(52.5% 0.22 283.9)
XYZxyz(21.0494, 12.7223, 72.5660)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348E1 #C6E148
analogous
#4879E1 #6348E1 #AF48E1
triadic
#6348E1 #E16348 #48E163
tetradic
#6348E1 #E14879 #C6E148 #48E1AF
square
#6348E1 #E14879 #C6E148 #48E1AF
split-complementary
#6348E1 #E1AF48 #79E148
monochromatic
#2F1996 #3F21CB #6348E1 #907DEA #BDB1F2

Accessibility & contrast

On white

5.92
#6348E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#6348E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348E1
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348E1#FFFFFF#000000##FFFFFF
##6348E11.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#23708F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #6348e1;
/* rgb */ color: rgb(99, 72, 225);
/* oklch */ color: oklch(52.5% 0.220 283.9);
Tailwind
colors: {
  custom: {
    50: '#9b7dec',
    500: '#6348e1',
    950: '#000000',
  },
}
SCSS
$custom: #6348e1;
$custom-light: #9b7dec;
$custom-dark: #000000;
JSON
{
  "hex": "#6348e1",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 250.588,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52496,
    "c": 0.21969,
    "h": 283.9
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#6348E1
secondary
#D6E1A4
accent
#EF39CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6348E1

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

Preview Lab → · Contrast checker → · Palette generator →

#6348E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva