#6135CA#6135CA

#6135CA is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.214 H 289.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#6135CA
RGBrgb(97, 53, 202)
HSLhsl(258, 58%, 50%)
HSVhsv(258, 74%, 79%)
CMYKcmyk(52%, 73.8%, 0%, 20.8%)
CIE-LABlab(36.65, 53.99, -70.20)
CIE-LCHlch(36.65, 88.57, 307.56°)
OKLaboklab(47.8% 0.0701 -0.2018)
OKLCHoklch(47.8% 0.214 289.2)
XYZxyz(16.8604, 9.3511, 56.7822)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135CA #9ECA35
analogous
#3554CA #6135CA #AB35CA
triadic
#6135CA #CA6135 #35CA61
tetradic
#6135CA #CA3554 #9ECA35 #35CAAB
square
#6135CA #CA3554 #9ECA35 #35CAAB
split-complementary
#6135CA #CAAB35 #54CA35
monochromatic
#321C69 #4A289A #6135CA #8765D7 #AD96E3

Accessibility & contrast

On white

7.32
#6135CA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#6135CA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6135CA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135CA#FFFFFF#000000##FFFFFF
##6135CA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0052C7
Tritanopia (blue-blind)
#3A5E7D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6135ca;
/* rgb */ color: rgb(97, 53, 202);
/* oklch */ color: oklch(47.8% 0.214 289.2);
Tailwind
colors: {
  custom: {
    50: '#9871db',
    500: '#6135ca',
    950: '#000000',
  },
}
SCSS
$custom: #6135ca;
$custom-light: #9871db;
$custom-dark: #000000;
JSON
{
  "hex": "#6135ca",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 202
  },
  "hsl": {
    "h": 257.718,
    "s": 58.431,
    "l": 50
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.21361,
    "h": 289.2
  },
  "luminance": 0.09352
}

Semantic roles & 50–950 ramp

primary
#6135CA
secondary
#BBCF8C
accent
#E246B4
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0815
muted
#7F7B83

Preview Lab

Preview with #6135CA

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

Preview Lab → · Contrast checker → · Palette generator →

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