#351256#351256

#351256 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.116 H 303.0°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#351256
RGBrgb(53, 18, 86)
HSLhsl(271, 65%, 20%)
HSVhsv(271, 79%, 34%)
CMYKcmyk(38.4%, 79.1%, 0%, 66.3%)
CIE-LABlab(14.74, 31.65, -34.07)
CIE-LCHlch(14.74, 46.50, 312.89°)
OKLaboklab(27.92% 0.0629 -0.0971)
OKLCHoklch(27.92% 0.116 303)
XYZxyz(3.3638, 1.8614, 8.9844)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351256 #335612
analogous
#131256 #351256 #561255
triadic
#351256 #563512 #125635
tetradic
#351256 #561312 #335612 #125556
square
#351256 #561312 #335612 #125556
split-complementary
#351256 #555612 #125613
monochromatic
#100519 #160723 #351256 #541D89 #7327BB

Accessibility & contrast

On white

15.30
#351256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#351256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351256
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351256#FFFFFF#000000##FFFFFF
##3512561.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002555
Tritanopia (blue-blind)
#2E2333
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #351256;
/* rgb */ color: rgb(53, 18, 86);
/* oklch */ color: oklch(27.9% 0.116 303.0);
Tailwind
colors: {
  custom: {
    50: '#705486',
    500: '#351256',
    950: '#000000',
  },
}
SCSS
$custom: #351256;
$custom-light: #705486;
$custom-dark: #000000;
JSON
{
  "hex": "#351256",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 270.882,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.27918,
    "c": 0.11568,
    "h": 303
  },
  "luminance": 0.01861
}

Semantic roles & 50–950 ramp

primary
#351256
secondary
#618F35
accent
#E83F91
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351256

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

Preview Lab → · Contrast checker → · Palette generator →

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