#6B48DC#6B48DC

#6B48DC is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.8% C 0.213 H 287.6°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#6B48DC
RGBrgb(107, 72, 220)
HSLhsl(254, 68%, 57%)
HSVhsv(254, 67%, 86%)
CMYKcmyk(51.4%, 67.3%, 0%, 13.7%)
CIE-LABlab(42.65, 50.87, -70.72)
CIE-LCHlch(42.65, 87.11, 305.73°)
OKLaboklab(52.77% 0.0644 -0.203)
OKLCHoklch(52.77% 0.213 287.6)
XYZxyz(21.2952, 12.9268, 69.0693)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48DC #B9DC48
analogous
#486FDC #6B48DC #B548DC
triadic
#6B48DC #DC6B48 #48DC6B
tetradic
#6B48DC #DC486F #B9DC48 #48DCB5
square
#6B48DC #DC486F #B9DC48 #48DCB5
split-complementary
#6B48DC #DCB548 #6FDC48
monochromatic
#361B8E #4A25C2 #6B48DC #957BE6 #BEAFF0

Accessibility & contrast

On white

5.86
#6B48DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#6B48DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48DC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48DC#FFFFFF#000000##FFFFFF
##6B48DC1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#406E8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b48dc;
/* rgb */ color: rgb(107, 72, 220);
/* oklch */ color: oklch(52.8% 0.213 287.6);
Tailwind
colors: {
  custom: {
    50: '#9f7de8',
    500: '#6b48dc',
    950: '#000000',
  },
}
SCSS
$custom: #6b48dc;
$custom-light: #9f7de8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48dc",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 254.189,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.52767,
    "c": 0.21301,
    "h": 287.6
  },
  "luminance": 0.12928
}

Semantic roles & 50–950 ramp

primary
#6B48DC
secondary
#D0DEA2
accent
#EB3DC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B48DC

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

Preview Lab → · Contrast checker → · Palette generator →

#6B48DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva