#351874#351874

#351874 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.6% C 0.145 H 289.8°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#351874
RGBrgb(53, 24, 116)
HSLhsl(259, 66%, 27%)
HSVhsv(259, 79%, 45%)
CMYKcmyk(54.3%, 79.3%, 0%, 54.5%)
CIE-LABlab(18.67, 37.21, -47.43)
CIE-LCHlch(18.67, 60.29, 308.12°)
OKLaboklab(31.57% 0.049 -0.1363)
OKLCHoklch(31.57% 0.145 289.8)
XYZxyz(4.9463, 2.6709, 16.7745)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351874 #577418
analogous
#182974 #351874 #631874
triadic
#351874 #743518 #187435
tetradic
#351874 #741829 #577418 #187463
square
#351874 #741829 #577418 #187463
split-complementary
#351874 #746318 #297418
monochromatic
#0C0519 #1E0E41 #351874 #4C22A7 #6532D5

Accessibility & contrast

On white

13.69
#351874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#351874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #351874
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351874#FFFFFF#000000##FFFFFF
##3518741.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F77
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#1E3245
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #351874;
/* rgb */ color: rgb(53, 24, 116);
/* oklch */ color: oklch(31.6% 0.145 289.8);
Tailwind
colors: {
  custom: {
    50: '#74589d',
    500: '#351874',
    950: '#000000',
  },
}
SCSS
$custom: #351874;
$custom-light: #74589d;
$custom-dark: #000000;
JSON
{
  "hex": "#351874",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 258.913,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31566,
    "c": 0.14488,
    "h": 289.8
  },
  "luminance": 0.02671
}

Semantic roles & 50–950 ramp

primary
#351874
secondary
#88A93F
accent
#E93FB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351874

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

Preview Lab → · Contrast checker → · Palette generator →

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