#6343DB#6343DB

#6343DB is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.3% C 0.218 H 285.4°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#6343DB
RGBrgb(99, 67, 219)
HSLhsl(253, 68%, 56%)
HSVhsv(253, 69%, 86%)
CMYKcmyk(54.8%, 69.4%, 0%, 14.1%)
CIE-LABlab(40.86, 51.97, -73.10)
CIE-LCHlch(40.86, 89.69, 305.41°)
OKLaboklab(51.28% 0.058 -0.2103)
OKLCHoklch(51.28% 0.218 285.4)
XYZxyz(19.9351, 11.7803, 68.2275)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6343DB #BBDB43
analogous
#436FDB #6343DB #AF43DB
triadic
#6343DB #DB6343 #43DB63
tetradic
#6343DB #DB436F #BBDB43 #43DBAF
square
#6343DB #DB436F #BBDB43 #43DBAF
split-complementary
#6343DB #DBAF43 #6FDB43
monochromatic
#321A89 #4424BD #6343DB #8E76E5 #B8AAEF

Accessibility & contrast

On white

6.26
#6343DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#6343DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6343DB
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6343DB#FFFFFF#000000##FFFFFF
##6343DB1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#2C6B8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6343db;
/* rgb */ color: rgb(99, 67, 219);
/* oklch */ color: oklch(51.3% 0.218 285.4);
Tailwind
colors: {
  custom: {
    50: '#9b7ae7',
    500: '#6343db',
    950: '#000000',
  },
}
SCSS
$custom: #6343db;
$custom-light: #9b7ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#6343db",
  "rgb": {
    "r": 99,
    "g": 67,
    "b": 219
  },
  "hsl": {
    "h": 252.632,
    "s": 67.857,
    "l": 56.078
  },
  "oklch": {
    "l": 0.51284,
    "c": 0.21812,
    "h": 285.4
  },
  "luminance": 0.11781
}

Semantic roles & 50–950 ramp

primary
#6343DB
secondary
#CFDC9E
accent
#EB3DC6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84

Preview Lab

Preview with #6343DB

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

Preview Lab → · Contrast checker → · Palette generator →

#6343DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva