#351748#351748

#351748 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.091 H 310.0°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#351748
RGBrgb(53, 23, 72)
HSLhsl(277, 52%, 19%)
HSVhsv(277, 68%, 28%)
CMYKcmyk(26.4%, 68.1%, 0%, 71.8%)
CIE-LABlab(14.61, 25.08, -24.70)
CIE-LCHlch(14.61, 35.20, 315.44°)
OKLaboklab(27.47% 0.0583 -0.0696)
OKLCHoklch(27.47% 0.091 310)
XYZxyz(2.9441, 1.8376, 6.3292)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351748 #2A4817
analogous
#1C1748 #351748 #481742
triadic
#351748 #483517 #174835
tetradic
#351748 #481C17 #2A4817 #174248
square
#351748 #481C17 #2A4817 #174248
split-complementary
#351748 #424817 #17481C
monochromatic
#110717 #13081A #351748 #572676 #7935A5

Accessibility & contrast

On white

15.36
#351748 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#351748 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351748
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351748#FFFFFF#000000##FFFFFF
##3517481.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04244A
Deuteranopia (green-blind)
#112547
Tritanopia (blue-blind)
#32202D
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #351748;
/* rgb */ color: rgb(53, 23, 72);
/* oklch */ color: oklch(27.5% 0.091 310.0);
Tailwind
colors: {
  custom: {
    50: '#6e567b',
    500: '#351748',
    950: '#000000',
  },
}
SCSS
$custom: #351748;
$custom-light: #6e567b;
$custom-dark: #000000;
JSON
{
  "hex": "#351748",
  "rgb": {
    "r": 53,
    "g": 23,
    "b": 72
  },
  "hsl": {
    "h": 276.735,
    "s": 51.579,
    "l": 18.627
  },
  "oklch": {
    "l": 0.27466,
    "c": 0.09076,
    "h": 310
  },
  "luminance": 0.01838
}

Semantic roles & 50–950 ramp

primary
#351748
secondary
#567F3C
accent
#DB4D84
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #351748

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

Preview Lab → · Contrast checker → · Palette generator →

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