#6135CD#6135CD

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

Color values

HEX#6135CD
RGBrgb(97, 53, 205)
HSLhsl(257, 60%, 51%)
HSVhsv(257, 74%, 80%)
CMYKcmyk(52.7%, 74.1%, 0%, 19.6%)
CIE-LABlab(36.92, 54.82, -71.51)
CIE-LCHlch(36.92, 90.10, 307.47°)
OKLaboklab(48.07% 0.0694 -0.2056)
OKLCHoklch(48.07% 0.217 288.7)
XYZxyz(17.2191, 9.4945, 58.6711)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135CD #A1CD35
analogous
#3555CD #6135CD #AD35CD
triadic
#6135CD #CD6135 #35CD61
tetradic
#6135CD #CD3555 #A1CD35 #35CDAD
square
#6135CD #CD3555 #A1CD35 #35CDAD
split-complementary
#6135CD #CDAD35 #55CD35
monochromatic
#331B6D #49279E #6135CD #8766D9 #AE97E5

Accessibility & contrast

On white

7.24
#6135CD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#6135CD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6135CD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135CD#FFFFFF#000000##FFFFFF
##6135CD1.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)
#005AD1
Deuteranopia (green-blind)
#0053CA
Tritanopia (blue-blind)
#375F7F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6135cd;
/* rgb */ color: rgb(97, 53, 205);
/* oklch */ color: oklch(48.1% 0.217 288.7);
Tailwind
colors: {
  custom: {
    50: '#9971dd',
    500: '#6135cd',
    950: '#000000',
  },
}
SCSS
$custom: #6135cd;
$custom-light: #9971dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6135cd",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 205
  },
  "hsl": {
    "h": 257.368,
    "s": 60.317,
    "l": 50.588
  },
  "oklch": {
    "l": 0.48068,
    "c": 0.21699,
    "h": 288.7
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#6135CD
secondary
#BDD18D
accent
#E344B5
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6135CD

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

Preview Lab → · Contrast checker → · Palette generator →

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