#351374#351374

#351374 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.150 H 290.7°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#351374
RGBrgb(53, 19, 116)
HSLhsl(261, 72%, 26%)
HSVhsv(261, 84%, 45%)
CMYKcmyk(54.3%, 83.6%, 0%, 54.5%)
CIE-LABlab(17.84, 39.61, -48.80)
CIE-LCHlch(17.84, 62.85, 309.07°)
OKLaboklab(30.99% 0.0529 -0.1403)
OKLCHoklch(30.99% 0.15 290.7)
XYZxyz(4.8525, 2.4834, 16.7433)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351374 #527413
analogous
#132274 #351374 #661374
triadic
#351374 #743513 #137435
tetradic
#351374 #741322 #527413 #137466
square
#351374 #741322 #527413 #137466
split-complementary
#351374 #746613 #227413
monochromatic
#0C041A #1D0A3F #351374 #4D1CA9 #6626DB

Accessibility & contrast

On white

14.03
#351374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#351374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351374
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351374#FFFFFF#000000##FFFFFF
##3513741.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#1E3044
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #351374;
/* rgb */ color: rgb(53, 19, 116);
/* oklch */ color: oklch(31.0% 0.150 290.7);
Tailwind
colors: {
  custom: {
    50: '#74569d',
    500: '#351374',
    950: '#000000',
  },
}
SCSS
$custom: #351374;
$custom-light: #74569d;
$custom-dark: #000000;
JSON
{
  "hex": "#351374",
  "rgb": {
    "r": 53,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 261.031,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30986,
    "c": 0.14993,
    "h": 290.7
  },
  "luminance": 0.02484
}

Semantic roles & 50–950 ramp

primary
#351374
secondary
#82AA38
accent
#EF39AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351374

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

Preview Lab → · Contrast checker → · Palette generator →

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