#35186E#35186E

#35186E is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.138 H 291.7°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#35186E
RGBrgb(53, 24, 110)
HSLhsl(260, 64%, 26%)
HSVhsv(260, 78%, 43%)
CMYKcmyk(51.8%, 78.2%, 0%, 56.9%)
CIE-LABlab(18.08, 35.43, -44.53)
CIE-LCHlch(18.08, 56.90, 308.51°)
OKLaboklab(30.97% 0.0508 -0.1278)
OKLCHoklch(30.97% 0.138 291.7)
XYZxyz(4.6085, 2.5358, 14.9955)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35186E #516E18
analogous
#18266E #35186E #60186E
triadic
#35186E #6E3518 #186E35
tetradic
#35186E #6E1826 #516E18 #186E60
square
#35186E #6E1826 #516E18 #186E60
split-complementary
#35186E #6E6018 #266E18
monochromatic
#0C0519 #1D0D3C #35186E #4D23A0 #662FD2

Accessibility & contrast

On white

13.93
#35186E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35186E
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35186E#FFFFFF#000000##FFFFFF
##35186E1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D70
Deuteranopia (green-blind)
#002A6C
Tritanopia (blue-blind)
#222F42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #35186e;
/* rgb */ color: rgb(53, 24, 110);
/* oklch */ color: oklch(31.0% 0.138 291.7);
Tailwind
colors: {
  custom: {
    50: '#735898',
    500: '#35186e',
    950: '#000000',
  },
}
SCSS
$custom: #35186e;
$custom-light: #735898;
$custom-dark: #000000;
JSON
{
  "hex": "#35186e",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 110
  },
  "hsl": {
    "h": 260.233,
    "s": 64.179,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30966,
    "c": 0.13752,
    "h": 291.7
  },
  "luminance": 0.02536
}

Semantic roles & 50–950 ramp

primary
#35186E
secondary
#81A43E
accent
#E741AF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #35186E

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

Preview Lab → · Contrast checker → · Palette generator →

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