#6134AB#6134AB

#6134AB is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.179 H 295.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6134AB
RGBrgb(97, 52, 171)
HSLhsl(263, 53%, 44%)
HSVhsv(263, 70%, 67%)
CMYKcmyk(43.3%, 69.6%, 0%, 32.9%)
CIE-LABlab(33.85, 46.04, -56.50)
CIE-LCHlch(33.85, 72.88, 309.18°)
OKLaboklab(45% 0.0775 -0.1615)
OKLCHoklch(45% 0.179 295.6)
XYZxyz(13.5065, 7.9373, 39.3406)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6134AB #7EAB34
analogous
#3442AB #6134AB #9C34AB
triadic
#6134AB #AB6134 #34AB61
tetradic
#6134AB #AB3442 #7EAB34 #34AB9C
square
#6134AB #AB3442 #7EAB34 #34AB9C
split-complementary
#6134AB #AB9C34 #42AB34
monochromatic
#2C174D #46267C #6134AB #7F52CA #A281D9

Accessibility & contrast

On white

8.12
#6134AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6134AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6134AB
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6134AB#FFFFFF#000000##FFFFFF
##6134AB1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#4D516B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6134ab;
/* rgb */ color: rgb(97, 52, 171);
/* oklch */ color: oklch(45.0% 0.179 295.6);
Tailwind
colors: {
  custom: {
    50: '#946fc5',
    500: '#6134ab',
    950: '#000000',
  },
}
SCSS
$custom: #6134ab;
$custom-light: #946fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#6134ab",
  "rgb": {
    "r": 97,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 262.689,
    "s": 53.363,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45002,
    "c": 0.17916,
    "h": 295.6
  },
  "luminance": 0.07938
}

Semantic roles & 50–950 ramp

primary
#6134AB
secondary
#A6C279
accent
#DD4BA6
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6134AB

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

Preview Lab → · Contrast checker → · Palette generator →

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