#6134CF#6134CF

#6134CF is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.1% C 0.220 H 288.4°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#6134CF
RGBrgb(97, 52, 207)
HSLhsl(257, 62%, 51%)
HSVhsv(257, 75%, 81%)
CMYKcmyk(53.1%, 74.9%, 0%, 18.8%)
CIE-LABlab(36.93, 55.84, -72.65)
CIE-LCHlch(36.93, 91.63, 307.55°)
OKLaboklab(48.13% 0.0697 -0.2089)
OKLCHoklch(48.13% 0.22 288.4)
XYZxyz(17.4169, 9.5015, 59.9356)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6134CF #A2CF34
analogous
#3454CF #6134CF #AE34CF
triadic
#6134CF #CF6134 #34CF61
tetradic
#6134CF #CF3454 #A2CF34 #34CFAE
square
#6134CF #CF3454 #A2CF34 #34CFAE
split-complementary
#6134CF #CFAE34 #54CF34
monochromatic
#331A6E #4926A0 #6134CF #8865DB #AE97E6

Accessibility & contrast

On white

7.24
#6134CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6134CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6134CF
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6134CF#FFFFFF#000000##FFFFFF
##6134CF1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#355F7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6134cf;
/* rgb */ color: rgb(97, 52, 207);
/* oklch */ color: oklch(48.1% 0.220 288.4);
Tailwind
colors: {
  custom: {
    50: '#9970df',
    500: '#6134cf',
    950: '#000000',
  },
}
SCSS
$custom: #6134cf;
$custom-light: #9970df;
$custom-dark: #000000;
JSON
{
  "hex": "#6134cf",
  "rgb": {
    "r": 97,
    "g": 52,
    "b": 207
  },
  "hsl": {
    "h": 257.419,
    "s": 61.753,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48132,
    "c": 0.22022,
    "h": 288.4
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#6134CF
secondary
#BED28D
accent
#E543B6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6134CF

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

Preview Lab → · Contrast checker → · Palette generator →

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