#53318F#53318F

#53318F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.148 H 295.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#53318F
RGBrgb(83, 49, 143)
HSLhsl(262, 49%, 38%)
HSVhsv(262, 66%, 56%)
CMYKcmyk(42%, 65.7%, 0%, 43.9%)
CIE-LABlab(29.46, 37.09, -46.71)
CIE-LCHlch(29.46, 59.64, 308.45°)
OKLaboklab(40.79% 0.0643 -0.1332)
OKLCHoklch(40.79% 0.148 295.8)
XYZxyz(9.6222, 6.0186, 26.6360)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#53318F #6D8F31
analogous
#313E8F #53318F #82318F
triadic
#53318F #8F5331 #318F53
tetradic
#53318F #8F313E #6D8F31 #318F82
square
#53318F #8F313E #6D8F31 #318F82
split-complementary
#53318F #8F8231 #3E8F31
monochromatic
#1E1234 #392161 #53318F #6D41BD #906DCD

Accessibility & contrast

On white

9.53
#53318F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#53318F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #53318F
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##53318F#FFFFFF#000000##FFFFFF
##53318F1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#00448D
Tritanopia (blue-blind)
#44475B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #53318f;
/* rgb */ color: rgb(83, 49, 143);
/* oklch */ color: oklch(40.8% 0.148 295.8);
Tailwind
colors: {
  custom: {
    50: '#886bb0',
    500: '#53318f',
    950: '#000000',
  },
}
SCSS
$custom: #53318f;
$custom-light: #886bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#53318f",
  "rgb": {
    "r": 83,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 261.702,
    "s": 48.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.40792,
    "c": 0.14793,
    "h": 295.8
  },
  "luminance": 0.06019
}

Semantic roles & 50–950 ramp

primary
#53318F
secondary
#99B567
accent
#D94FA7
background
#F8F6FA
surface
#F0EBF5
border
#CBC6CF
text
#0C0711
muted
#7D7A80

Preview Lab

Preview with #53318F

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

Preview Lab → · Contrast checker → · Palette generator →

#53318F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva