#351259#351259

#351259 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.119 H 301.5°. Best body text is #FFFFFF at 15.19:1 contrast (WCAG AA passes).

Color values

HEX#351259
RGBrgb(53, 18, 89)
HSLhsl(270, 66%, 21%)
HSVhsv(270, 80%, 35%)
CMYKcmyk(40.4%, 79.8%, 0%, 65.1%)
CIE-LABlab(15.01, 32.47, -35.65)
CIE-LCHlch(15.01, 48.23, 312.33°)
OKLaboklab(28.19% 0.0622 -0.1017)
OKLCHoklch(28.19% 0.119 301.5)
XYZxyz(3.4872, 1.9107, 9.6343)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351259 #365912
analogous
#121359 #351259 #581259
triadic
#351259 #593512 #125935
tetradic
#351259 #591213 #365912 #125958
square
#351259 #591213 #365912 #125958
split-complementary
#351259 #595812 #135912
monochromatic
#0F0519 #170826 #351259 #531C8C #7227BF

Accessibility & contrast

On white

15.19
#351259 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#351259 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351259
15.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351259#FFFFFF#000000##FFFFFF
##3512591.0015.191.3815.19
#FFFFFF15.191.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#2D2434
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #351259;
/* rgb */ color: rgb(53, 18, 89);
/* oklch */ color: oklch(28.2% 0.119 301.5);
Tailwind
colors: {
  custom: {
    50: '#705488',
    500: '#351259',
    950: '#000000',
  },
}
SCSS
$custom: #351259;
$custom-light: #705488;
$custom-dark: #000000;
JSON
{
  "hex": "#351259",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 89
  },
  "hsl": {
    "h": 269.577,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28192,
    "c": 0.11924,
    "h": 301.5
  },
  "luminance": 0.01911
}

Semantic roles & 50–950 ramp

primary
#351259
secondary
#649235
accent
#E93F95
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351259

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

Preview Lab → · Contrast checker → · Palette generator →

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