#351A5E#351A5E

#351A5E is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.115 H 297.1°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#351A5E
RGBrgb(53, 26, 94)
HSLhsl(264, 57%, 24%)
HSVhsv(264, 72%, 37%)
CMYKcmyk(43.6%, 72.3%, 0%, 63.1%)
CIE-LABlab(17.01, 29.55, -35.75)
CIE-LCHlch(17.01, 46.39, 309.58°)
OKLaboklab(29.75% 0.0522 -0.1021)
OKLCHoklch(29.75% 0.115 297.1)
XYZxyz(3.8574, 2.3038, 10.8289)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A5E #435E1A
analogous
#1A215E #351A5E #571A5E
triadic
#351A5E #5E351A #1A5E35
tetradic
#351A5E #5E1A21 #435E1A #1A5E57
square
#351A5E #5E1A21 #435E1A #1A5E57
split-complementary
#351A5E #5E571A #215E1A
monochromatic
#0E0718 #1A0D2E #351A5E #50278E #6B35BE

Accessibility & contrast

On white

14.38
#351A5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#351A5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A5E
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A5E#FFFFFF#000000##FFFFFF
##351A5E1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A60
Deuteranopia (green-blind)
#00295D
Tritanopia (blue-blind)
#2B2A39
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #351a5e;
/* rgb */ color: rgb(53, 26, 94);
/* oklch */ color: oklch(29.7% 0.115 297.1);
Tailwind
colors: {
  custom: {
    50: '#70598c',
    500: '#351a5e',
    950: '#000000',
  },
}
SCSS
$custom: #351a5e;
$custom-light: #70598c;
$custom-dark: #000000;
JSON
{
  "hex": "#351a5e",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 94
  },
  "hsl": {
    "h": 263.824,
    "s": 56.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.29749,
    "c": 0.11464,
    "h": 297.1
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#351A5E
secondary
#739440
accent
#E048A4
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #351A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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