#351783#351783

#351783 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.164 H 285.9°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#351783
RGBrgb(53, 23, 131)
HSLhsl(257, 70%, 30%)
HSVhsv(257, 82%, 51%)
CMYKcmyk(59.5%, 82.4%, 0%, 48.6%)
CIE-LABlab(20.08, 42.14, -54.69)
CIE-LCHlch(20.08, 69.05, 307.61°)
OKLaboklab(33.02% 0.0449 -0.1575)
OKLCHoklch(33.02% 0.164 285.9)
XYZxyz(5.8701, 3.0080, 21.7396)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351783 #658317
analogous
#172F83 #351783 #6B1783
triadic
#351783 #833517 #178335
tetradic
#351783 #83172F #658317 #17836B
square
#351783 #83172F #658317 #17836B
split-complementary
#351783 #836B17 #2F8317
monochromatic
#0B051B #200E4F #351783 #4A20B7 #6638DC

Accessibility & contrast

On white

13.11
#351783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#351783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351783
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351783#FFFFFF#000000##FFFFFF
##3517831.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#0B374D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #351783;
/* rgb */ color: rgb(53, 23, 131);
/* oklch */ color: oklch(33.0% 0.164 285.9);
Tailwind
colors: {
  custom: {
    50: '#7759a8',
    500: '#351783',
    950: '#000000',
  },
}
SCSS
$custom: #351783;
$custom-light: #7759a8;
$custom-dark: #000000;
JSON
{
  "hex": "#351783",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 131
  },
  "hsl": {
    "h": 256.667,
    "s": 70.13,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33015,
    "c": 0.16383,
    "h": 285.9
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#351783
secondary
#96B73F
accent
#ED3BBB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351783

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

Preview Lab → · Contrast checker → · Palette generator →

#351783 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva