#351990#351990

#351990 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.177 H 282.8°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#351990
RGBrgb(53, 25, 144)
HSLhsl(254, 70%, 33%)
HSVhsv(254, 83%, 56%)
CMYKcmyk(63.2%, 82.6%, 0%, 43.5%)
CIE-LABlab(21.82, 45.05, -59.96)
CIE-LCHlch(21.82, 75.00, 306.92°)
OKLaboklab(34.64% 0.0393 -0.1729)
OKLCHoklch(34.64% 0.177 282.8)
XYZxyz(6.8483, 3.4653, 26.6881)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351990 #749019
analogous
#193890 #351990 #701990
triadic
#351990 #903519 #199035
tetradic
#351990 #901938 #749019 #199070
square
#351990 #901938 #749019 #199070
split-complementary
#351990 #907019 #389019
monochromatic
#0F0728 #22105C #351990 #4822C4 #6945DF

Accessibility & contrast

On white

12.40
#351990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#351990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351990
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351990#FFFFFF#000000##FFFFFF
##3519901.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351990;
/* rgb */ color: rgb(53, 25, 144);
/* oklch */ color: oklch(34.6% 0.177 282.8);
Tailwind
colors: {
  custom: {
    50: '#795bb2',
    500: '#351990',
    950: '#000000',
  },
}
SCSS
$custom: #351990;
$custom-light: #795bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#351990",
  "rgb": {
    "r": 53,
    "g": 25,
    "b": 144
  },
  "hsl": {
    "h": 254.118,
    "s": 70.414,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34645,
    "c": 0.17734,
    "h": 282.8
  },
  "luminance": 0.03466
}

Semantic roles & 50–950 ramp

primary
#351990
secondary
#A3C045
accent
#ED3BC3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #351990

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

Preview Lab → · Contrast checker → · Palette generator →

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