#351074#351074

#351074 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.153 H 291.1°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#351074
RGBrgb(53, 16, 116)
HSLhsl(262, 76%, 26%)
HSVhsv(262, 86%, 45%)
CMYKcmyk(54.3%, 86.2%, 0%, 54.5%)
CIE-LABlab(17.41, 40.89, -49.52)
CIE-LCHlch(17.41, 64.22, 309.55°)
OKLaboklab(30.68% 0.055 -0.1423)
OKLCHoklch(30.68% 0.153 291.1)
XYZxyz(4.8050, 2.3882, 16.7274)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#351074 #4F7410
analogous
#101D74 #351074 #671074
triadic
#351074 #743510 #107435
tetradic
#351074 #74101D #4F7410 #107467
square
#351074 #74101D #4F7410 #107467
split-complementary
#351074 #746710 #1D7410
monochromatic
#0C041B #1C093E #351074 #4E17AA #661FE0

Accessibility & contrast

On white

14.21
#351074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #351074
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##351074#FFFFFF#000000##FFFFFF
##3510741.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C77
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#1E2E43
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #351074;
/* rgb */ color: rgb(53, 16, 116);
/* oklch */ color: oklch(30.7% 0.153 291.1);
Tailwind
colors: {
  custom: {
    50: '#75559d',
    500: '#351074',
    950: '#000000',
  },
}
SCSS
$custom: #351074;
$custom-light: #75559d;
$custom-dark: #000000;
JSON
{
  "hex": "#351074",
  "rgb": {
    "r": 53,
    "g": 16,
    "b": 116
  },
  "hsl": {
    "h": 262.2,
    "s": 75.758,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30684,
    "c": 0.1526,
    "h": 291.1
  },
  "luminance": 0.02388
}

Semantic roles & 50–950 ramp

primary
#351074
secondary
#7FAB35
accent
#F235AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #351074

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

Preview Lab → · Contrast checker → · Palette generator →

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