#6135CF#6135CF

#6135CF is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.2% C 0.219 H 288.3°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#6135CF
RGBrgb(97, 53, 207)
HSLhsl(257, 62%, 51%)
HSVhsv(257, 74%, 81%)
CMYKcmyk(53.1%, 74.4%, 0%, 18.8%)
CIE-LABlab(37.10, 55.37, -72.37)
CIE-LCHlch(37.10, 91.12, 307.42°)
OKLaboklab(48.25% 0.0689 -0.2081)
OKLCHoklch(48.25% 0.219 288.3)
XYZxyz(17.4620, 9.5917, 59.9507)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135CF #A3CF35
analogous
#3556CF #6135CF #AE35CF
triadic
#6135CF #CF6135 #35CF61
tetradic
#6135CF #CF3556 #A3CF35 #35CFAE
square
#6135CF #CF3556 #A3CF35 #35CFAE
split-complementary
#6135CF #CFAE35 #56CF35
monochromatic
#331A6F #4926A1 #6135CF #8866DB #AE98E7

Accessibility & contrast

On white

7.20
#6135CF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#6135CF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6135CF
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135CF#FFFFFF#000000##FFFFFF
##6135CF1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#0053CC
Tritanopia (blue-blind)
#356080
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6135cf;
/* rgb */ color: rgb(97, 53, 207);
/* oklch */ color: oklch(48.2% 0.219 288.3);
Tailwind
colors: {
  custom: {
    50: '#9971df',
    500: '#6135cf',
    950: '#000000',
  },
}
SCSS
$custom: #6135cf;
$custom-light: #9971df;
$custom-dark: #000000;
JSON
{
  "hex": "#6135cf",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 207
  },
  "hsl": {
    "h": 257.143,
    "s": 61.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48249,
    "c": 0.21923,
    "h": 288.3
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#6135CF
secondary
#BFD28E
accent
#E543B7
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6135CF

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

Preview Lab → · Contrast checker → · Palette generator →

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