#351983#351983

#351983 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.162 H 285.6°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#351983
RGBrgb(53, 25, 131)
HSLhsl(256, 68%, 31%)
HSVhsv(256, 81%, 51%)
CMYKcmyk(59.5%, 80.9%, 0%, 48.6%)
CIE-LABlab(20.40, 41.19, -54.16)
CIE-LCHlch(20.40, 68.04, 307.26°)
OKLaboklab(33.24% 0.0436 -0.156)
OKLCHoklch(33.24% 0.162 285.6)
XYZxyz(5.9113, 3.0905, 21.7534)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351983 #678319
analogous
#193283 #351983 #6A1983
triadic
#351983 #833519 #198335
tetradic
#351983 #831932 #678319 #19836A
square
#351983 #831932 #678319 #19836A
split-complementary
#351983 #836A19 #328319
monochromatic
#0B051C #200F50 #351983 #4A23B6 #663DDA

Accessibility & contrast

On white

12.98
#351983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#351983 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351983
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351983#FFFFFF#000000##FFFFFF
##3519831.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#0B384E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #351983;
/* rgb */ color: rgb(53, 25, 131);
/* oklch */ color: oklch(33.2% 0.162 285.6);
Tailwind
colors: {
  custom: {
    50: '#775aa8',
    500: '#351983',
    950: '#000000',
  },
}
SCSS
$custom: #351983;
$custom-light: #775aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#351983",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 131
  },
  "hsl": {
    "h": 255.849,
    "s": 67.949,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33242,
    "c": 0.16198,
    "h": 285.6
  },
  "luminance": 0.03091
}

Semantic roles & 50–950 ramp

primary
#351983
secondary
#98B741
accent
#EB3DBD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351983

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

Preview Lab → · Contrast checker → · Palette generator →

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