#351674#351674

#351674 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.147 H 290.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#351674
RGBrgb(53, 22, 116)
HSLhsl(260, 68%, 27%)
HSVhsv(260, 81%, 45%)
CMYKcmyk(54.3%, 81%, 0%, 54.5%)
CIE-LABlab(18.33, 38.21, -48.00)
CIE-LCHlch(18.33, 61.36, 308.52°)
OKLaboklab(31.32% 0.0507 -0.138)
OKLCHoklch(31.32% 0.147 290.2)
XYZxyz(4.9066, 2.5914, 16.7613)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351674 #557416
analogous
#162674 #351674 #641674
triadic
#351674 #743516 #167435
tetradic
#351674 #741626 #557416 #167464
square
#351674 #741626 #557416 #167464
split-complementary
#351674 #746416 #267416
monochromatic
#0C051A #1D0C41 #351674 #4D20A7 #652DD7

Accessibility & contrast

On white

13.83
#351674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#351674 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351674
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351674#FFFFFF#000000##FFFFFF
##3516741.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#1E3145
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351674;
/* rgb */ color: rgb(53, 22, 116);
/* oklch */ color: oklch(31.3% 0.147 290.2);
Tailwind
colors: {
  custom: {
    50: '#74579d',
    500: '#351674',
    950: '#000000',
  },
}
SCSS
$custom: #351674;
$custom-light: #74579d;
$custom-dark: #000000;
JSON
{
  "hex": "#351674",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 259.787,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.31323,
    "c": 0.14699,
    "h": 290.2
  },
  "luminance": 0.02592
}

Semantic roles & 50–950 ramp

primary
#351674
secondary
#86AA3C
accent
#EB3DB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351674

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

Preview Lab → · Contrast checker → · Palette generator →

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