#6348AB#6348AB

#6348AB is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.2% C 0.152 H 292.3°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#6348AB
RGBrgb(99, 72, 171)
HSLhsl(256, 41%, 48%)
HSVhsv(256, 58%, 67%)
CMYKcmyk(42.1%, 57.9%, 0%, 32.9%)
CIE-LABlab(38.25, 35.24, -49.37)
CIE-LCHlch(38.25, 60.66, 305.52°)
OKLaboklab(48.24% 0.0577 -0.1405)
OKLCHoklch(48.24% 0.152 292.3)
XYZxyz(14.8116, 10.2272, 39.7138)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6348AB #90AB48
analogous
#485EAB #6348AB #9548AB
triadic
#6348AB #AB6348 #48AB63
tetradic
#6348AB #AB485E #90AB48 #48AB95
square
#6348AB #AB485E #90AB48 #48AB95
split-complementary
#6348AB #AB9548 #5EAB48
monochromatic
#312455 #4A3680 #6348AB #856EC2 #A999D4

Accessibility & contrast

On white

6.90
#6348AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#6348AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6348AB
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6348AB#FFFFFF#000000##FFFFFF
##6348AB1.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5BAE
Deuteranopia (green-blind)
#1758A9
Tritanopia (blue-blind)
#4F5D72
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6348ab;
/* rgb */ color: rgb(99, 72, 171);
/* oklch */ color: oklch(48.2% 0.152 292.3);
Tailwind
colors: {
  custom: {
    50: '#947cc5',
    500: '#6348ab',
    950: '#000000',
  },
}
SCSS
$custom: #6348ab;
$custom-light: #947cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6348ab",
  "rgb": {
    "r": 99,
    "g": 72,
    "b": 171
  },
  "hsl": {
    "h": 256.364,
    "s": 40.741,
    "l": 47.647
  },
  "oklch": {
    "l": 0.48241,
    "c": 0.15191,
    "h": 292.3
  },
  "luminance": 0.10228
}

Semantic roles & 50–950 ramp

primary
#6348AB
secondary
#B3C08E
accent
#D157AF
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0913
muted
#7E7B82

Preview Lab

Preview with #6348AB

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

Preview Lab → · Contrast checker → · Palette generator →

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