#35186C#35186C

#35186C is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.135 H 292.3°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#35186C
RGBrgb(53, 24, 108)
HSLhsl(261, 64%, 26%)
HSVhsv(261, 78%, 42%)
CMYKcmyk(50.9%, 77.8%, 0%, 57.6%)
CIE-LABlab(17.89, 34.83, -43.54)
CIE-LCHlch(17.89, 55.76, 308.66°)
OKLaboklab(30.77% 0.0513 -0.1249)
OKLCHoklch(30.77% 0.135 292.3)
XYZxyz(4.5008, 2.4927, 14.4284)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35186C #4F6C18
analogous
#18256C #35186C #5F186C
triadic
#35186C #6C3518 #186C35
tetradic
#35186C #6C1825 #4F6C18 #186C5F
square
#35186C #6C1825 #4F6C18 #186C5F
split-complementary
#35186C #6C5F18 #256C18
monochromatic
#0C0619 #1C0D3A #35186C #4E239E #662ED0

Accessibility & contrast

On white

14.01
#35186C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35186C
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35186C#FFFFFF#000000##FFFFFF
##35186C1.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6E
Deuteranopia (green-blind)
#002A6A
Tritanopia (blue-blind)
#232E40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #35186c;
/* rgb */ color: rgb(53, 24, 108);
/* oklch */ color: oklch(30.8% 0.135 292.3);
Tailwind
colors: {
  custom: {
    50: '#735897',
    500: '#35186c',
    950: '#000000',
  },
}
SCSS
$custom: #35186c;
$custom-light: #735897;
$custom-dark: #000000;
JSON
{
  "hex": "#35186c",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 108
  },
  "hsl": {
    "h": 260.714,
    "s": 63.636,
    "l": 25.882
  },
  "oklch": {
    "l": 0.3077,
    "c": 0.13505,
    "h": 292.3
  },
  "luminance": 0.02493
}

Semantic roles & 50–950 ramp

primary
#35186C
secondary
#7FA23E
accent
#E741AE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #35186C

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

Preview Lab → · Contrast checker → · Palette generator →

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