#35186F#35186F

#35186F is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.1% C 0.139 H 291.3°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#35186F
RGBrgb(53, 24, 111)
HSLhsl(260, 64%, 26%)
HSVhsv(260, 78%, 44%)
CMYKcmyk(52.3%, 78.4%, 0%, 56.5%)
CIE-LABlab(18.18, 35.73, -45.01)
CIE-LCHlch(18.18, 57.47, 308.44°)
OKLaboklab(31.07% 0.0505 -0.1292)
OKLCHoklch(31.07% 0.139 291.3)
XYZxyz(4.6633, 2.5577, 15.2838)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35186F #526F18
analogous
#18276F #35186F #61186F
triadic
#35186F #6F3518 #186F35
tetradic
#35186F #6F1827 #526F18 #186F61
square
#35186F #6F1827 #526F18 #186F61
split-complementary
#35186F #6F6118 #276F18
monochromatic
#0C0519 #1D0D3D #35186F #4D23A1 #662FD2

Accessibility & contrast

On white

13.89
#35186F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#35186F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35186F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35186F#FFFFFF#000000##FFFFFF
##35186F1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E71
Deuteranopia (green-blind)
#002A6D
Tritanopia (blue-blind)
#213042
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #35186f;
/* rgb */ color: rgb(53, 24, 111);
/* oklch */ color: oklch(31.1% 0.139 291.3);
Tailwind
colors: {
  custom: {
    50: '#735899',
    500: '#35186f',
    950: '#000000',
  },
}
SCSS
$custom: #35186f;
$custom-light: #735899;
$custom-dark: #000000;
JSON
{
  "hex": "#35186f",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 111
  },
  "hsl": {
    "h": 260,
    "s": 64.444,
    "l": 26.471
  },
  "oklch": {
    "l": 0.31065,
    "c": 0.13875,
    "h": 291.3
  },
  "luminance": 0.02558
}

Semantic roles & 50–950 ramp

primary
#35186F
secondary
#82A53E
accent
#E740B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #35186F

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

Preview Lab → · Contrast checker → · Palette generator →

#35186F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva