#351A66#351A66

#351A66 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.5% C 0.125 H 293.9°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#351A66
RGBrgb(53, 26, 102)
HSLhsl(261, 59%, 25%)
HSVhsv(261, 75%, 40%)
CMYKcmyk(48%, 74.5%, 0%, 60%)
CIE-LABlab(17.71, 31.95, -39.90)
CIE-LCHlch(17.71, 51.11, 308.69°)
OKLaboklab(30.47% 0.0507 -0.1142)
OKLCHoklch(30.47% 0.125 293.9)
XYZxyz(4.2352, 2.4549, 12.8185)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A66 #4B661A
analogous
#1A2566 #351A66 #5B1A66
triadic
#351A66 #66351A #1A6635
tetradic
#351A66 #661A25 #4B661A #1A665B
square
#351A66 #661A25 #4B661A #1A665B
split-complementary
#351A66 #665B1A #25661A
monochromatic
#0D0618 #1C0E35 #351A66 #4E2697 #6833C8

Accessibility & contrast

On white

14.08
#351A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351A66
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A66#FFFFFF#000000##FFFFFF
##351A661.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #351a66;
/* rgb */ color: rgb(53, 26, 102);
/* oklch */ color: oklch(30.5% 0.125 293.9);
Tailwind
colors: {
  custom: {
    50: '#725992',
    500: '#351a66',
    950: '#000000',
  },
}
SCSS
$custom: #351a66;
$custom-light: #725992;
$custom-dark: #000000;
JSON
{
  "hex": "#351a66",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 261.316,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30474,
    "c": 0.12499,
    "h": 293.9
  },
  "luminance": 0.02455
}

Semantic roles & 50–950 ramp

primary
#351A66
secondary
#7B9C40
accent
#E345AB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351A66

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

Preview Lab → · Contrast checker → · Palette generator →

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