#35186D#35186D

#35186D is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.136 H 292.0°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#35186D
RGBrgb(53, 24, 109)
HSLhsl(260, 64%, 26%)
HSVhsv(260, 78%, 43%)
CMYKcmyk(51.4%, 78%, 0%, 57.3%)
CIE-LABlab(17.98, 35.13, -44.03)
CIE-LCHlch(17.98, 56.33, 308.58°)
OKLaboklab(30.87% 0.051 -0.1264)
OKLCHoklch(30.87% 0.136 292)
XYZxyz(4.5544, 2.5141, 14.7103)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35186D #506D18
analogous
#18256D #35186D #5F186D
triadic
#35186D #6D3518 #186D35
tetradic
#35186D #6D1825 #506D18 #186D5F
square
#35186D #6D1825 #506D18 #186D5F
split-complementary
#35186D #6D5F18 #256D18
monochromatic
#0C0619 #1D0D3B #35186D #4D239F #662ED1

Accessibility & contrast

On white

13.97
#35186D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#35186D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35186D
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35186D#FFFFFF#000000##FFFFFF
##35186D1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6F
Deuteranopia (green-blind)
#002A6B
Tritanopia (blue-blind)
#232F41
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #35186d;
/* rgb */ color: rgb(53, 24, 109);
/* oklch */ color: oklch(30.9% 0.136 292.0);
Tailwind
colors: {
  custom: {
    50: '#735898',
    500: '#35186d',
    950: '#000000',
  },
}
SCSS
$custom: #35186d;
$custom-light: #735898;
$custom-dark: #000000;
JSON
{
  "hex": "#35186d",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 109
  },
  "hsl": {
    "h": 260.471,
    "s": 63.91,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30868,
    "c": 0.13628,
    "h": 292
  },
  "luminance": 0.02514
}

Semantic roles & 50–950 ramp

primary
#35186D
secondary
#80A33E
accent
#E741AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #35186D

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

Preview Lab → · Contrast checker → · Palette generator →

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