#351868#351868

#351868 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.130 H 293.7°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#351868
RGBrgb(53, 24, 104)
HSLhsl(262, 63%, 25%)
HSVhsv(262, 77%, 41%)
CMYKcmyk(49%, 76.9%, 0%, 59.2%)
CIE-LABlab(17.50, 33.65, -41.55)
CIE-LCHlch(17.50, 53.46, 309.00°)
OKLaboklab(30.38% 0.0523 -0.1191)
OKLCHoklch(30.38% 0.13 293.7)
XYZxyz(4.2928, 2.4095, 13.3329)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351868 #4B6818
analogous
#182368 #351868 #5D1868
triadic
#351868 #683518 #186835
tetradic
#351868 #681823 #4B6818 #18685D
square
#351868 #681823 #4B6818 #18685D
split-complementary
#351868 #685D18 #236818
monochromatic
#0D0619 #1C0D36 #351868 #4E239A #682FCB

Accessibility & contrast

On white

14.17
#351868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#351868 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351868
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351868#FFFFFF#000000##FFFFFF
##3518681.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#262D3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351868;
/* rgb */ color: rgb(53, 24, 104);
/* oklch */ color: oklch(30.4% 0.130 293.7);
Tailwind
colors: {
  custom: {
    50: '#725894',
    500: '#351868',
    950: '#000000',
  },
}
SCSS
$custom: #351868;
$custom-light: #725894;
$custom-dark: #000000;
JSON
{
  "hex": "#351868",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 261.75,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30383,
    "c": 0.13007,
    "h": 293.7
  },
  "luminance": 0.0241
}

Semantic roles & 50–950 ramp

primary
#351868
secondary
#7B9E3E
accent
#E642AA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #351868

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

Preview Lab → · Contrast checker → · Palette generator →

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