#351855#351855

#351855 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.7% C 0.106 H 301.9°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#351855
RGBrgb(53, 24, 85)
HSLhsl(269, 56%, 21%)
HSVhsv(269, 72%, 33%)
CMYKcmyk(37.6%, 71.8%, 0%, 66.7%)
CIE-LABlab(15.83, 28.10, -31.63)
CIE-LCHlch(15.83, 42.30, 311.62°)
OKLaboklab(28.67% 0.056 -0.0899)
OKLCHoklch(28.67% 0.106 301.9)
XYZxyz(3.4341, 2.0660, 8.8104)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351855 #385518
analogous
#181A55 #351855 #541855
triadic
#351855 #553518 #185535
tetradic
#351855 #55181A #385518 #185554
square
#351855 #55181A #385518 #185554
split-complementary
#351855 #555418 #1A5518
monochromatic
#0F0718 #170B25 #351855 #532585 #7133B4

Accessibility & contrast

On white

14.86
#351855 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351855
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351855#FFFFFF#000000##FFFFFF
##3518551.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002757
Deuteranopia (green-blind)
#012754
Tritanopia (blue-blind)
#2E2634
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #351855;
/* rgb */ color: rgb(53, 24, 85);
/* oklch */ color: oklch(28.7% 0.106 301.9);
Tailwind
colors: {
  custom: {
    50: '#6f5785',
    500: '#351855',
    950: '#000000',
  },
}
SCSS
$custom: #351855;
$custom-light: #6f5785;
$custom-dark: #000000;
JSON
{
  "hex": "#351855",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 268.525,
    "s": 55.963,
    "l": 21.373
  },
  "oklch": {
    "l": 0.28667,
    "c": 0.10591,
    "h": 301.9
  },
  "luminance": 0.02066
}

Semantic roles & 50–950 ramp

primary
#351855
secondary
#668C3D
accent
#DF4998
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #351855

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

Preview Lab → · Contrast checker → · Palette generator →

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