#351658#351658

#351658 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.113 H 301.0°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#351658
RGBrgb(53, 22, 88)
HSLhsl(268, 60%, 22%)
HSVhsv(268, 75%, 35%)
CMYKcmyk(39.8%, 75%, 0%, 65.5%)
CIE-LABlab(15.67, 30.09, -33.91)
CIE-LCHlch(15.67, 45.33, 311.58°)
OKLaboklab(28.63% 0.058 -0.0966)
OKLCHoklch(28.63% 0.113 301)
XYZxyz(3.5161, 2.0353, 9.4382)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351658 #395816
analogous
#161858 #351658 #561658
triadic
#351658 #583516 #165835
tetradic
#351658 #581618 #395816 #165856
square
#351658 #581618 #395816 #165856
split-complementary
#351658 #585616 #185816
monochromatic
#0F0618 #180A27 #351658 #522289 #702EBA

Accessibility & contrast

On white

14.93
#351658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#351658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351658
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351658#FFFFFF#000000##FFFFFF
##3516581.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002757
Tritanopia (blue-blind)
#2D2635
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351658;
/* rgb */ color: rgb(53, 22, 88);
/* oklch */ color: oklch(28.6% 0.113 301.0);
Tailwind
colors: {
  custom: {
    50: '#705688',
    500: '#351658',
    950: '#000000',
  },
}
SCSS
$custom: #351658;
$custom-light: #705688;
$custom-dark: #000000;
JSON
{
  "hex": "#351658",
  "rgb": {
    "r": 53,
    "g": 22,
    "b": 88
  },
  "hsl": {
    "h": 268.182,
    "s": 60,
    "l": 21.569
  },
  "oklch": {
    "l": 0.28632,
    "c": 0.11267,
    "h": 301
  },
  "luminance": 0.02035
}

Semantic roles & 50–950 ramp

primary
#351658
secondary
#678F3B
accent
#E34599
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351658

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

Preview Lab → · Contrast checker → · Palette generator →

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