#351889#351889

#351889 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.8% C 0.170 H 284.4°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#351889
RGBrgb(53, 24, 137)
HSLhsl(255, 70%, 32%)
HSVhsv(255, 82%, 54%)
CMYKcmyk(61.3%, 82.5%, 0%, 46.3%)
CIE-LABlab(20.89, 43.44, -57.13)
CIE-LCHlch(20.89, 71.77, 307.25°)
OKLaboklab(33.77% 0.0423 -0.1647)
OKLCHoklch(33.77% 0.17 284.4)
XYZxyz(6.3088, 3.2159, 23.9503)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351889 #6C8918
analogous
#183489 #351889 #6E1889
triadic
#351889 #893518 #188935
tetradic
#351889 #891834 #6C8918 #18896E
square
#351889 #891834 #6C8918 #18896E
split-complementary
#351889 #896E18 #348918
monochromatic
#0D0621 #210F55 #351889 #4921BD #673EDD

Accessibility & contrast

On white

12.78
#351889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#351889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351889
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351889#FFFFFF#000000##FFFFFF
##3518891.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002F87
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #351889;
/* rgb */ color: rgb(53, 24, 137);
/* oklch */ color: oklch(33.8% 0.170 284.4);
Tailwind
colors: {
  custom: {
    50: '#785aad',
    500: '#351889',
    950: '#000000',
  },
}
SCSS
$custom: #351889;
$custom-light: #785aad;
$custom-dark: #000000;
JSON
{
  "hex": "#351889",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 255.398,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33772,
    "c": 0.17001,
    "h": 284.4
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#351889
secondary
#9DBD40
accent
#ED3BBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #351889

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

Preview Lab → · Contrast checker → · Palette generator →

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