#350F76#350F76

#350F76 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.156 H 290.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#350F76
RGBrgb(53, 15, 118)
HSLhsl(262, 77%, 26%)
HSVhsv(262, 87%, 46%)
CMYKcmyk(55.1%, 87.3%, 0%, 53.7%)
CIE-LABlab(17.49, 41.84, -50.67)
CIE-LCHlch(17.49, 65.71, 309.55°)
OKLaboklab(30.81% 0.0548 -0.1457)
OKLCHoklch(30.81% 0.156 290.6)
XYZxyz(4.9081, 2.4063, 17.3419)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#350F76 #50760F
analogous
#0F1C76 #350F76 #680F76
triadic
#350F76 #76350F #0F7635
tetradic
#350F76 #760F1C #50760F #0F7668
square
#350F76 #760F1C #50760F #0F7668
split-complementary
#350F76 #76680F #1C760F
monochromatic
#0C031B #1D0840 #350F76 #4D16AC #661DE2

Accessibility & contrast

On white

14.18
#350F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#350F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #350F76
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##350F76#FFFFFF#000000##FFFFFF
##350F761.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#1C2F44
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #350f76;
/* rgb */ color: rgb(53, 15, 118);
/* oklch */ color: oklch(30.8% 0.156 290.6);
Tailwind
colors: {
  custom: {
    50: '#75549f',
    500: '#350f76',
    950: '#000000',
  },
}
SCSS
$custom: #350f76;
$custom-light: #75549f;
$custom-dark: #000000;
JSON
{
  "hex": "#350f76",
  "rgb": {
    "r": 53,
    "g": 15,
    "b": 118
  },
  "hsl": {
    "h": 262.136,
    "s": 77.444,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30807,
    "c": 0.15567,
    "h": 290.6
  },
  "luminance": 0.02407
}

Semantic roles & 50–950 ramp

primary
#350F76
secondary
#80AD33
accent
#F434AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #350F76

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

Preview Lab → · Contrast checker → · Palette generator →

#350F76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva