#6135CE#6135CE

#6135CE is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.218 H 288.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6135CE
RGBrgb(97, 53, 206)
HSLhsl(257, 61%, 51%)
HSVhsv(257, 74%, 81%)
CMYKcmyk(52.9%, 74.3%, 0%, 19.2%)
CIE-LABlab(37.01, 55.09, -71.94)
CIE-LCHlch(37.01, 90.61, 307.44°)
OKLaboklab(48.16% 0.0692 -0.2068)
OKLCHoklch(48.16% 0.218 288.5)
XYZxyz(17.3402, 9.5430, 59.3088)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135CE #A2CE35
analogous
#3555CE #6135CE #AD35CE
triadic
#6135CE #CE6135 #35CE61
tetradic
#6135CE #CE3555 #A2CE35 #35CEAD
square
#6135CE #CE3555 #A2CE35 #35CEAD
split-complementary
#6135CE #CEAD35 #55CE35
monochromatic
#331B6E #49279F #6135CE #8866DA #AE98E6

Accessibility & contrast

On white

7.22
#6135CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6135CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6135CE
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135CE#FFFFFF#000000##FFFFFF
##6135CE1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#0053CB
Tritanopia (blue-blind)
#365F7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6135ce;
/* rgb */ color: rgb(97, 53, 206);
/* oklch */ color: oklch(48.2% 0.218 288.5);
Tailwind
colors: {
  custom: {
    50: '#9971de',
    500: '#6135ce',
    950: '#000000',
  },
}
SCSS
$custom: #6135ce;
$custom-light: #9971de;
$custom-dark: #000000;
JSON
{
  "hex": "#6135ce",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 206
  },
  "hsl": {
    "h": 257.255,
    "s": 60.956,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48158,
    "c": 0.2181,
    "h": 288.5
  },
  "luminance": 0.09544
}

Semantic roles & 50–950 ramp

primary
#6135CE
secondary
#BED18D
accent
#E444B6
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6135CE

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

Preview Lab → · Contrast checker → · Palette generator →

#6135CE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva