#351A58#351A58

#351A58 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.107 H 299.8°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#351A58
RGBrgb(53, 26, 88)
HSLhsl(266, 54%, 22%)
HSVhsv(266, 70%, 35%)
CMYKcmyk(39.8%, 70.5%, 0%, 65.5%)
CIE-LABlab(16.50, 27.79, -32.56)
CIE-LCHlch(16.50, 42.80, 310.48°)
OKLaboklab(29.23% 0.053 -0.0927)
OKLCHoklch(29.23% 0.107 299.8)
XYZxyz(3.5986, 2.2002, 9.4657)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A58 #3D581A
analogous
#1A1E58 #351A58 #541A58
triadic
#351A58 #58351A #1A5835
tetradic
#351A58 #581A1E #3D581A #1A5854
square
#351A58 #581A1E #3D581A #1A5854
split-complementary
#351A58 #58541A #1E581A
monochromatic
#0E0718 #190C29 #351A58 #512887 #6E36B6

Accessibility & contrast

On white

14.58
#351A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#351A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A58
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A58#FFFFFF#000000##FFFFFF
##351A581.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295A
Deuteranopia (green-blind)
#002857
Tritanopia (blue-blind)
#2D2836
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #351a58;
/* rgb */ color: rgb(53, 26, 88);
/* oklch */ color: oklch(29.2% 0.107 299.8);
Tailwind
colors: {
  custom: {
    50: '#705888',
    500: '#351a58',
    950: '#000000',
  },
}
SCSS
$custom: #351a58;
$custom-light: #705888;
$custom-dark: #000000;
JSON
{
  "hex": "#351a58",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 266.129,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.2923,
    "c": 0.10676,
    "h": 299.8
  },
  "luminance": 0.022
}

Semantic roles & 50–950 ramp

primary
#351A58
secondary
#6C8E40
accent
#DE4A9D
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351A58

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

Preview Lab → · Contrast checker → · Palette generator →

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