#6313B4#6313B4

#6313B4 is a dark, highly saturated violet. Relative luminance 0.064; OKLCH L 42.9% C 0.219 H 297.9°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#6313B4
RGBrgb(99, 19, 180)
HSLhsl(270, 81%, 39%)
HSVhsv(270, 89%, 71%)
CMYKcmyk(45%, 89.4%, 0%, 29.4%)
CIE-LABlab(30.43, 61.47, -67.46)
CIE-LCHlch(30.43, 91.27, 312.34°)
OKLaboklab(42.92% 0.1024 -0.1934)
OKLCHoklch(42.92% 0.219 297.9)
XYZxyz(13.6145, 6.4134, 43.6918)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6313B4 #64B413
analogous
#1313B4 #6313B4 #B413B4
triadic
#6313B4 #B46313 #13B463
tetradic
#6313B4 #B41313 #64B413 #13B4B4
square
#6313B4 #B41313 #64B413 #13B4B4
split-complementary
#6313B4 #B4B413 #13B413
monochromatic
#260745 #450D7D #6313B4 #811DE7 #A054ED

Accessibility & contrast

On white

9.20
#6313B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#6313B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6313B4
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6313B4#FFFFFF#000000##FFFFFF
##6313B41.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B8
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#4D476A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #6313b4;
/* rgb */ color: rgb(99, 19, 180);
/* oklch */ color: oklch(42.9% 0.219 297.9);
Tailwind
colors: {
  custom: {
    50: '#9861cc',
    500: '#6313b4',
    950: '#000000',
  },
}
SCSS
$custom: #6313b4;
$custom-light: #9861cc;
$custom-dark: #000000;
JSON
{
  "hex": "#6313b4",
  "rgb": {
    "r": 99,
    "g": 19,
    "b": 180
  },
  "hsl": {
    "h": 269.814,
    "s": 80.905,
    "l": 39.02
  },
  "oklch": {
    "l": 0.42915,
    "c": 0.21881,
    "h": 297.9
  },
  "luminance": 0.06414
}

Semantic roles & 50–950 ramp

primary
#6313B4
secondary
#92CF53
accent
#F73095
background
#FAF6FC
surface
#F3EBF9
border
#CDC6D2
text
#0F0614
muted
#7F7A82

Preview Lab

Preview with #6313B4

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

Preview Lab → · Contrast checker → · Palette generator →

#6313B4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva