#351A74#351A74

#351A74 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.8% C 0.143 H 289.4°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#351A74
RGBrgb(53, 26, 116)
HSLhsl(258, 63%, 28%)
HSVhsv(258, 78%, 45%)
CMYKcmyk(54.3%, 77.6%, 0%, 54.5%)
CIE-LABlab(19.04, 36.17, -46.83)
CIE-LCHlch(19.04, 59.18, 307.68°)
OKLaboklab(31.82% 0.0473 -0.1346)
OKLCHoklch(31.82% 0.143 289.4)
XYZxyz(4.9891, 2.7564, 16.7888)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351A74 #59741A
analogous
#1A2C74 #351A74 #621A74
triadic
#351A74 #74351A #1A7435
tetradic
#351A74 #741A2C #59741A #1A7462
square
#351A74 #741A2C #59741A #1A7462
split-complementary
#351A74 #74621A #2C741A
monochromatic
#0B0619 #1E0F42 #351A74 #4C25A6 #6536D2

Accessibility & contrast

On white

13.54
#351A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#351A74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351A74
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351A74#FFFFFF#000000##FFFFFF
##351A741.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#1E3346
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #351a74;
/* rgb */ color: rgb(53, 26, 116);
/* oklch */ color: oklch(31.8% 0.143 289.4);
Tailwind
colors: {
  custom: {
    50: '#745a9d',
    500: '#351a74',
    950: '#000000',
  },
}
SCSS
$custom: #351a74;
$custom-light: #745a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#351a74",
  "rgb": {
    "r": 53,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 258,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31823,
    "c": 0.14267,
    "h": 289.4
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#351A74
secondary
#8AA941
accent
#E641B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #351A74

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

Preview Lab → · Contrast checker → · Palette generator →

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