#351261#351261

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

Color values

HEX#351261
RGBrgb(53, 18, 97)
HSLhsl(267, 69%, 23%)
HSVhsv(267, 81%, 38%)
CMYKcmyk(45.4%, 81.4%, 0%, 62%)
CIE-LABlab(15.76, 34.69, -39.78)
CIE-LCHlch(15.76, 52.78, 311.09°)
OKLaboklab(28.95% 0.06 -0.1138)
OKLCHoklch(28.95% 0.129 297.8)
XYZxyz(3.8416, 2.0525, 11.5007)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351261 #3E6112
analogous
#121761 #351261 #5C1261
triadic
#351261 #613512 #126135
tetradic
#351261 #611217 #3E6112 #12615C
square
#351261 #611217 #3E6112 #12615C
split-complementary
#351261 #615C12 #176112
monochromatic
#0E051A #19082D #351261 #511C95 #6D25C8

Accessibility & contrast

On white

14.89
#351261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#351261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351261
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351261#FFFFFF#000000##FFFFFF
##3512611.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002763
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#2A2739
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351261;
/* rgb */ color: rgb(53, 18, 97);
/* oklch */ color: oklch(28.9% 0.129 297.8);
Tailwind
colors: {
  custom: {
    50: '#71548f',
    500: '#351261',
    950: '#000000',
  },
}
SCSS
$custom: #351261;
$custom-light: #71548f;
$custom-dark: #000000;
JSON
{
  "hex": "#351261",
  "rgb": {
    "r": 53,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 266.582,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2895,
    "c": 0.12871,
    "h": 297.8
  },
  "luminance": 0.02053
}

Semantic roles & 50–950 ramp

primary
#351261
secondary
#6D9936
accent
#EC3C9E
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351261

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

Preview Lab → · Contrast checker → · Palette generator →

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