#351A65#351A65

#351A65 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.124 H 294.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#351A65
RGBrgb(53, 26, 101)
HSLhsl(262, 59%, 25%)
HSVhsv(262, 74%, 40%)
CMYKcmyk(47.5%, 74.3%, 0%, 60.4%)
CIE-LABlab(17.62, 31.65, -39.39)
CIE-LCHlch(17.62, 50.52, 308.78°)
OKLaboklab(30.38% 0.0509 -0.1127)
OKLCHoklch(30.38% 0.124 294.3)
XYZxyz(4.1859, 2.4351, 12.5589)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A65 #4A651A
analogous
#1A2565 #351A65 #5B1A65
triadic
#351A65 #65351A #1A6535
tetradic
#351A65 #651A25 #4A651A #1A655B
square
#351A65 #651A25 #4A651A #1A655B
split-complementary
#351A65 #655B1A #25651A
monochromatic
#0D0618 #1B0D34 #351A65 #4F2796 #6833C6

Accessibility & contrast

On white

14.12
#351A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#351A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A65
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A65#FFFFFF#000000##FFFFFF
##351A651.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#272D3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351a65;
/* rgb */ color: rgb(53, 26, 101);
/* oklch */ color: oklch(30.4% 0.124 294.3);
Tailwind
colors: {
  custom: {
    50: '#715992',
    500: '#351a65',
    950: '#000000',
  },
}
SCSS
$custom: #351a65;
$custom-light: #715992;
$custom-dark: #000000;
JSON
{
  "hex": "#351a65",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 101
  },
  "hsl": {
    "h": 261.6,
    "s": 59.055,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30382,
    "c": 0.12371,
    "h": 294.3
  },
  "luminance": 0.02435
}

Semantic roles & 50–950 ramp

primary
#351A65
secondary
#7A9B40
accent
#E246AA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351A65

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

Preview Lab → · Contrast checker → · Palette generator →

#351A65 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva