#351890#351890

#351890 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.5% C 0.178 H 282.9°. Best body text is #FFFFFF at 12.46:1 contrast (WCAG AA passes).

Color values

HEX#351890
RGBrgb(53, 24, 144)
HSLhsl(255, 71%, 33%)
HSVhsv(255, 83%, 56%)
CMYKcmyk(63.2%, 83.3%, 0%, 43.5%)
CIE-LABlab(21.67, 45.50, -60.21)
CIE-LCHlch(21.67, 75.47, 307.07°)
OKLaboklab(34.54% 0.0399 -0.1737)
OKLCHoklch(34.54% 0.178 282.9)
XYZxyz(6.8273, 3.4233, 26.6811)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351890 #739018
analogous
#183790 #351890 #711890
triadic
#351890 #903518 #189035
tetradic
#351890 #901837 #739018 #189071
square
#351890 #901837 #739018 #189071
split-complementary
#351890 #907118 #379018
monochromatic
#0E0727 #220F5C #351890 #4821C4 #6943E0

Accessibility & contrast

On white

12.46
#351890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#351890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351890
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351890#FFFFFF#000000##FFFFFF
##3518901.0012.461.6812.46
#FFFFFF12.461.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #351890;
/* rgb */ color: rgb(53, 24, 144);
/* oklch */ color: oklch(34.5% 0.178 282.9);
Tailwind
colors: {
  custom: {
    50: '#795ab2',
    500: '#351890',
    950: '#000000',
  },
}
SCSS
$custom: #351890;
$custom-light: #795ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#351890",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 254.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34539,
    "c": 0.17818,
    "h": 282.9
  },
  "luminance": 0.03424
}

Semantic roles & 50–950 ramp

primary
#351890
secondary
#A2C043
accent
#EE3AC3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351890

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

Preview Lab → · Contrast checker → · Palette generator →

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