#6134C2#6134C2

#6134C2 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.0% C 0.206 H 290.7°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#6134C2
RGBrgb(97, 52, 194)
HSLhsl(259, 58%, 48%)
HSVhsv(259, 73%, 76%)
CMYKcmyk(50%, 73.2%, 0%, 23.9%)
CIE-LABlab(35.78, 52.29, -66.97)
CIE-LCHlch(35.78, 84.97, 307.98°)
OKLaboklab(46.96% 0.0728 -0.1923)
OKLCHoklch(46.96% 0.206 290.7)
XYZxyz(15.8926, 8.8918, 51.9074)
Luminance0.0889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6134C2 #95C234
analogous
#344EC2 #6134C2 #A834C2
triadic
#6134C2 #C26134 #34C261
tetradic
#6134C2 #C2344E #95C234 #34C2A8
square
#6134C2 #C2344E #95C234 #34C2A8
split-complementary
#6134C2 #C2A834 #4EC234
monochromatic
#311A61 #492792 #6134C2 #845FD4 #A98FE1

Accessibility & contrast

On white

7.56
#6134C2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6134C2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6134C2
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6134C2#FFFFFF#000000##FFFFFF
##6134C21.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#0051BF
Tritanopia (blue-blind)
#405A78
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6134c2;
/* rgb */ color: rgb(97, 52, 194);
/* oklch */ color: oklch(47.0% 0.206 290.7);
Tailwind
colors: {
  custom: {
    50: '#9770d6',
    500: '#6134c2',
    950: '#000000',
  },
}
SCSS
$custom: #6134c2;
$custom-light: #9770d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6134c2",
  "rgb": {
    "r": 97,
    "g": 52,
    "b": 194
  },
  "hsl": {
    "h": 259.014,
    "s": 57.724,
    "l": 48.235
  },
  "oklch": {
    "l": 0.46963,
    "c": 0.20561,
    "h": 290.7
  },
  "luminance": 0.08892
}

Semantic roles & 50–950 ramp

primary
#6134C2
secondary
#B6CC86
accent
#E147B0
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0F0814
muted
#7E7B83

Preview Lab

Preview with #6134C2

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

Preview Lab → · Contrast checker → · Palette generator →

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