#6135DF#6135DF

#6135DF is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.237 H 285.8°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#6135DF
RGBrgb(97, 53, 223)
HSLhsl(256, 73%, 54%)
HSVhsv(256, 76%, 87%)
CMYKcmyk(56.5%, 76.2%, 0%, 12.5%)
CIE-LABlab(38.58, 59.75, -79.16)
CIE-LCHlch(38.58, 99.17, 307.05°)
OKLaboklab(49.73% 0.0647 -0.228)
OKLCHoklch(49.73% 0.237 285.8)
XYZxyz(19.5181, 10.4142, 70.7794)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6135DF #B3DF35
analogous
#355EDF #6135DF #B635DF
triadic
#6135DF #DF6135 #35DF61
tetradic
#6135DF #DF355E #B3DF35 #35DFB6
square
#6135DF #DF355E #B3DF35 #35DFB6
split-complementary
#6135DF #DFB635 #5EDF35
monochromatic
#321585 #461DB9 #6135DF #8A6AE7 #B49FF0

Accessibility & contrast

On white

6.81
#6135DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6135DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6135DF
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6135DF#FFFFFF#000000##FFFFFF
##6135DF1.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE4
Deuteranopia (green-blind)
#0056DC
Tritanopia (blue-blind)
#216689
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6135df;
/* rgb */ color: rgb(97, 53, 223);
/* oklch */ color: oklch(49.7% 0.237 285.8);
Tailwind
colors: {
  custom: {
    50: '#9b72ea',
    500: '#6135df',
    950: '#000000',
  },
}
SCSS
$custom: #6135df;
$custom-light: #9b72ea;
$custom-dark: #000000;
JSON
{
  "hex": "#6135df",
  "rgb": {
    "r": 97,
    "g": 53,
    "b": 223
  },
  "hsl": {
    "h": 255.529,
    "s": 72.65,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49731,
    "c": 0.23696,
    "h": 285.8
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#6135DF
secondary
#C9DC94
accent
#EF38C0
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #6135DF

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

Preview Lab → · Contrast checker → · Palette generator →

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