#6A48EB#6A48EB

#6A48EB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.231 H 285.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#6A48EB
RGBrgb(106, 72, 235)
HSLhsl(253, 80%, 60%)
HSVhsv(253, 69%, 92%)
CMYKcmyk(54.9%, 69.4%, 0%, 7.8%)
CIE-LABlab(43.79, 54.98, -77.38)
CIE-LCHlch(43.79, 94.92, 305.40°)
OKLaboklab(53.94% 0.0606 -0.2226)
OKLCHoklch(53.94% 0.231 285.2)
XYZxyz(23.2521, 13.6957, 79.9995)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A48EB #C9EB48
analogous
#4878EB #6A48EB #BB48EB
triadic
#6A48EB #EB6A48 #48EB6A
tetradic
#6A48EB #EB4878 #C9EB48 #48EBBB
square
#6A48EB #EB4878 #C9EB48 #48EBBB
split-complementary
#6A48EB #EBBB48 #78EB48
monochromatic
#3112A6 #4118DE #6A48EB #977FF1 #C4B6F7

Accessibility & contrast

On white

5.62
#6A48EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#6A48EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6A48EB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A48EB#FFFFFF#000000##FFFFFF
##6A48EB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF0
Deuteranopia (green-blind)
#0062E8
Tritanopia (blue-blind)
#2E7394
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #6a48eb;
/* rgb */ color: rgb(106, 72, 235);
/* oklch */ color: oklch(53.9% 0.231 285.2);
Tailwind
colors: {
  custom: {
    50: '#a17ef3',
    500: '#6a48eb',
    950: '#000000',
  },
}
SCSS
$custom: #6a48eb;
$custom-light: #a17ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#6a48eb",
  "rgb": {
    "r": 106,
    "g": 72,
    "b": 235
  },
  "hsl": {
    "h": 252.515,
    "s": 80.296,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53942,
    "c": 0.2307,
    "h": 285.2
  },
  "luminance": 0.13697
}

Semantic roles & 50–950 ramp

primary
#6A48EB
secondary
#DAE7A8
accent
#DD09B0
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #6A48EB

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

Preview Lab → · Contrast checker → · Palette generator →

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