#351A64#351A64

#351A64 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.3% C 0.122 H 294.7°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#351A64
RGBrgb(53, 26, 100)
HSLhsl(262, 59%, 25%)
HSVhsv(262, 74%, 39%)
CMYKcmyk(47%, 74%, 0%, 60.8%)
CIE-LABlab(17.53, 31.35, -38.87)
CIE-LCHlch(17.53, 49.94, 308.88°)
OKLaboklab(30.29% 0.0511 -0.1112)
OKLCHoklch(30.29% 0.122 294.7)
XYZxyz(4.1372, 2.4157, 12.3024)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A64 #49641A
analogous
#1A2464 #351A64 #5A1A64
triadic
#351A64 #64351A #1A6435
tetradic
#351A64 #641A24 #49641A #1A645A
square
#351A64 #641A24 #49641A #1A645A
split-complementary
#351A64 #645A1A #24641A
monochromatic
#0D0618 #1B0D33 #351A64 #4F2795 #6833C5

Accessibility & contrast

On white

14.16
#351A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#351A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A64
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A64#FFFFFF#000000##FFFFFF
##351A641.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002A63
Tritanopia (blue-blind)
#282C3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351a64;
/* rgb */ color: rgb(53, 26, 100);
/* oklch */ color: oklch(30.3% 0.122 294.7);
Tailwind
colors: {
  custom: {
    50: '#715991',
    500: '#351a64',
    950: '#000000',
  },
}
SCSS
$custom: #351a64;
$custom-light: #715991;
$custom-dark: #000000;
JSON
{
  "hex": "#351a64",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 261.892,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3029,
    "c": 0.12241,
    "h": 294.7
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#351A64
secondary
#799A40
accent
#E246A9
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351A64

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

Preview Lab → · Contrast checker → · Palette generator →

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