#6134AF#6134AF

#6134AF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.3% C 0.184 H 294.7°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6134AF
RGBrgb(97, 52, 175)
HSLhsl(262, 54%, 45%)
HSVhsv(262, 70%, 69%)
CMYKcmyk(44.6%, 70.3%, 0%, 31.4%)
CIE-LABlab(34.17, 47.12, -58.36)
CIE-LCHlch(34.17, 75.01, 308.92°)
OKLaboklab(45.33% 0.0768 -0.167)
OKLCHoklch(45.33% 0.184 294.7)
XYZxyz(13.8935, 8.0922, 41.3791)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6134AF #82AF34
analogous
#3445AF #6134AF #9F34AF
triadic
#6134AF #AF6134 #34AF61
tetradic
#6134AF #AF3445 #82AF34 #34AF9F
square
#6134AF #AF3445 #82AF34 #34AF9F
split-complementary
#6134AF #AF9F34 #45AF34
monochromatic
#2D1851 #472680 #6134AF #8054CC #A383DA

Accessibility & contrast

On white

8.02
#6134AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6134AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6134AF
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6134AF#FFFFFF#000000##FFFFFF
##6134AF1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#004EAD
Tritanopia (blue-blind)
#4B536E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6134af;
/* rgb */ color: rgb(97, 52, 175);
/* oklch */ color: oklch(45.3% 0.184 294.7);
Tailwind
colors: {
  custom: {
    50: '#956fc8',
    500: '#6134af',
    950: '#000000',
  },
}
SCSS
$custom: #6134af;
$custom-light: #956fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6134af",
  "rgb": {
    "r": 97,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 261.951,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.45333,
    "c": 0.18381,
    "h": 294.7
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#6134AF
secondary
#A9C47B
accent
#DE4AA8
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #6134AF

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

Preview Lab → · Contrast checker → · Palette generator →

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