#351460#351460

#351460 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.125 H 297.8°. Best body text is #FFFFFF at 14.78:1 contrast (WCAG AA passes).

Color values

HEX#351460
RGBrgb(53, 20, 96)
HSLhsl(266, 66%, 23%)
HSVhsv(266, 79%, 38%)
CMYKcmyk(44.8%, 79.2%, 0%, 62.4%)
CIE-LABlab(16.01, 33.42, -38.71)
CIE-LCHlch(16.01, 51.14, 310.81°)
OKLaboklab(29.1% 0.0584 -0.1107)
OKLCHoklch(29.1% 0.125 297.8)
XYZxyz(3.8291, 2.1017, 11.2680)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351460 #3F6014
analogous
#141960 #351460 #5B1460
triadic
#351460 #603514 #146035
tetradic
#351460 #601419 #3F6014 #14605B
square
#351460 #601419 #3F6014 #14605B
split-complementary
#351460 #605B14 #196014
monochromatic
#0E0519 #19092D #351460 #511F93 #6D29C5

Accessibility & contrast

On white

14.78
#351460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#351460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351460
14.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351460#FFFFFF#000000##FFFFFF
##3514601.0014.781.4214.78
#FFFFFF14.781.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#2A2839
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #351460;
/* rgb */ color: rgb(53, 20, 96);
/* oklch */ color: oklch(29.1% 0.125 297.8);
Tailwind
colors: {
  custom: {
    50: '#71558e',
    500: '#351460',
    950: '#000000',
  },
}
SCSS
$custom: #351460;
$custom-light: #71558e;
$custom-dark: #000000;
JSON
{
  "hex": "#351460",
  "rgb": {
    "r": 53,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 266.053,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29098,
    "c": 0.12515,
    "h": 297.8
  },
  "luminance": 0.02102
}

Semantic roles & 50–950 ramp

primary
#351460
secondary
#6E9838
accent
#E83F9F
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351460

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

Preview Lab → · Contrast checker → · Palette generator →

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