#351883#351883

#351883 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.163 H 285.8°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#351883
RGBrgb(53, 24, 131)
HSLhsl(256, 69%, 30%)
HSVhsv(256, 82%, 51%)
CMYKcmyk(59.5%, 81.7%, 0%, 48.6%)
CIE-LABlab(20.24, 41.67, -54.43)
CIE-LCHlch(20.24, 68.55, 307.44°)
OKLaboklab(33.13% 0.0443 -0.1568)
OKLCHoklch(33.13% 0.163 285.8)
XYZxyz(5.8903, 3.0485, 21.7464)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351883 #668318
analogous
#183083 #351883 #6A1883
triadic
#351883 #833518 #188335
tetradic
#351883 #831830 #668318 #18836A
square
#351883 #831830 #668318 #18836A
split-complementary
#351883 #836A18 #308318
monochromatic
#0B051C #200F4F #351883 #4A21B7 #663ADB

Accessibility & contrast

On white

13.05
#351883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#351883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351883
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351883#FFFFFF#000000##FFFFFF
##3518831.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.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: #351883;
/* rgb */ color: rgb(53, 24, 131);
/* oklch */ color: oklch(33.1% 0.163 285.8);
Tailwind
colors: {
  custom: {
    50: '#7759a8',
    500: '#351883',
    950: '#000000',
  },
}
SCSS
$custom: #351883;
$custom-light: #7759a8;
$custom-dark: #000000;
JSON
{
  "hex": "#351883",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 131
  },
  "hsl": {
    "h": 256.262,
    "s": 69.032,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33127,
    "c": 0.16293,
    "h": 285.8
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#351883
secondary
#97B740
accent
#EC3CBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351883

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

Preview Lab → · Contrast checker → · Palette generator →

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