#6134A2#6134A2

#6134A2 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.3% C 0.169 H 297.9°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#6134A2
RGBrgb(97, 52, 162)
HSLhsl(265, 51%, 42%)
HSVhsv(265, 68%, 64%)
CMYKcmyk(40.1%, 67.9%, 0%, 36.5%)
CIE-LABlab(33.15, 43.62, -52.23)
CIE-LCHlch(33.15, 68.05, 309.87°)
OKLaboklab(44.28% 0.0789 -0.149)
OKLCHoklch(44.28% 0.169 297.9)
XYZxyz(12.6777, 7.6058, 34.9755)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6134A2 #75A234
analogous
#343EA2 #6134A2 #9834A2
triadic
#6134A2 #A26134 #34A261
tetradic
#6134A2 #A2343E #75A234 #34A298
square
#6134A2 #A2343E #75A234 #34A298
split-complementary
#6134A2 #A29834 #3EA234
monochromatic
#2A1645 #452574 #6134A2 #7F4DC6 #A07CD5

Accessibility & contrast

On white

8.33
#6134A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#6134A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6134A2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6134A2#FFFFFF#000000##FFFFFF
##6134A21.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA5
Deuteranopia (green-blind)
#004DA0
Tritanopia (blue-blind)
#514E66
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6134a2;
/* rgb */ color: rgb(97, 52, 162);
/* oklch */ color: oklch(44.3% 0.169 297.9);
Tailwind
colors: {
  custom: {
    50: '#936fbe',
    500: '#6134a2',
    950: '#000000',
  },
}
SCSS
$custom: #6134a2;
$custom-light: #936fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6134a2",
  "rgb": {
    "r": 97,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 264.545,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44278,
    "c": 0.16857,
    "h": 297.9
  },
  "luminance": 0.07606
}

Semantic roles & 50–950 ramp

primary
#6134A2
secondary
#A0BE74
accent
#DB4DA1
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #6134A2

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

Preview Lab → · Contrast checker → · Palette generator →

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