#6348DB#6348DB

#6348DB is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.0% C 0.212 H 284.7°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#6348DB
RGBrgb(99, 72, 219)
HSLhsl(251, 67%, 57%)
HSVhsv(251, 67%, 86%)
CMYKcmyk(54.8%, 67.1%, 0%, 14.1%)
CIE-LABlab(41.85, 49.27, -71.50)
CIE-LCHlch(41.85, 86.83, 304.57°)
OKLaboklab(51.99% 0.0538 -0.2056)
OKLCHoklch(51.99% 0.212 284.7)
XYZxyz(20.2453, 12.4007, 68.3309)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348DB #C0DB48
analogous
#4877DB #6348DB #AC48DB
triadic
#6348DB #DB6348 #48DB63
tetradic
#6348DB #DB4877 #C0DB48 #48DBAC
square
#6348DB #DB4877 #C0DB48 #48DBAC
split-complementary
#6348DB #DBAC48 #77DB48
monochromatic
#311C8D #4226C0 #6348DB #8F7BE5 #BAAEEF

Accessibility & contrast

On white

6.03
#6348DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#6348DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348DB
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348DB#FFFFFF#000000##FFFFFF
##6348DB1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#2C6E8C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #6348db;
/* rgb */ color: rgb(99, 72, 219);
/* oklch */ color: oklch(52.0% 0.212 284.7);
Tailwind
colors: {
  custom: {
    50: '#9a7de7',
    500: '#6348db',
    950: '#000000',
  },
}
SCSS
$custom: #6348db;
$custom-light: #9a7de7;
$custom-dark: #000000;
JSON
{
  "hex": "#6348db",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 251.02,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.21248,
    "h": 284.7
  },
  "luminance": 0.12402
}

Semantic roles & 50–950 ramp

primary
#6348DB
secondary
#D2DDA2
accent
#EA3ECA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #6348DB

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

Preview Lab → · Contrast checker → · Palette generator →

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