#35186A#35186A

#35186A is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.6% C 0.133 H 293.0°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#35186A
RGBrgb(53, 24, 106)
HSLhsl(261, 63%, 25%)
HSVhsv(261, 77%, 42%)
CMYKcmyk(50%, 77.4%, 0%, 58.4%)
CIE-LABlab(17.69, 34.24, -42.55)
CIE-LCHlch(17.69, 54.62, 308.82°)
OKLaboklab(30.58% 0.0518 -0.122)
OKLCHoklch(30.58% 0.133 293)
XYZxyz(4.3956, 2.4506, 13.8743)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35186A #4D6A18
analogous
#18246A #35186A #5E186A
triadic
#35186A #6A3518 #186A35
tetradic
#35186A #6A1824 #4D6A18 #186A5E
square
#35186A #6A1824 #4D6A18 #186A5E
split-complementary
#35186A #6A5E18 #246A18
monochromatic
#0C0619 #1C0D38 #35186A #4E239C #672FCE

Accessibility & contrast

On white

14.09
#35186A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#35186A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #35186A
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35186A#FFFFFF#000000##FFFFFF
##35186A1.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6C
Deuteranopia (green-blind)
#002A68
Tritanopia (blue-blind)
#252E3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #35186a;
/* rgb */ color: rgb(53, 24, 106);
/* oklch */ color: oklch(30.6% 0.133 293.0);
Tailwind
colors: {
  custom: {
    50: '#725895',
    500: '#35186a',
    950: '#000000',
  },
}
SCSS
$custom: #35186a;
$custom-light: #725895;
$custom-dark: #000000;
JSON
{
  "hex": "#35186a",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 106
  },
  "hsl": {
    "h": 261.22,
    "s": 63.077,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30576,
    "c": 0.13256,
    "h": 293
  },
  "luminance": 0.02451
}

Semantic roles & 50–950 ramp

primary
#35186A
secondary
#7DA03E
accent
#E642AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #35186A

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

Preview Lab → · Contrast checker → · Palette generator →

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