#35186B#35186B

#35186B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.134 H 292.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#35186B
RGBrgb(53, 24, 107)
HSLhsl(261, 63%, 26%)
HSVhsv(261, 78%, 42%)
CMYKcmyk(50.5%, 77.6%, 0%, 58%)
CIE-LABlab(17.79, 34.54, -43.05)
CIE-LCHlch(17.79, 55.19, 308.74°)
OKLaboklab(30.67% 0.0516 -0.1235)
OKLCHoklch(30.67% 0.134 292.7)
XYZxyz(4.4479, 2.4715, 14.1498)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#35186B #4E6B18
analogous
#18246B #35186B #5E186B
triadic
#35186B #6B3518 #186B35
tetradic
#35186B #6B1824 #4E6B18 #186B5E
square
#35186B #6B1824 #4E6B18 #186B5E
split-complementary
#35186B #6B5E18 #246B18
monochromatic
#0C0619 #1C0D39 #35186B #4E239D #672ECF

Accessibility & contrast

On white

14.05
#35186B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #35186B
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##35186B#FFFFFF#000000##FFFFFF
##35186B1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#242E40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #35186b;
/* rgb */ color: rgb(53, 24, 107);
/* oklch */ color: oklch(30.7% 0.134 292.7);
Tailwind
colors: {
  custom: {
    50: '#725896',
    500: '#35186b',
    950: '#000000',
  },
}
SCSS
$custom: #35186b;
$custom-light: #725896;
$custom-dark: #000000;
JSON
{
  "hex": "#35186b",
  "rgb": {
    "r": 53,
    "g": 24,
    "b": 107
  },
  "hsl": {
    "h": 260.964,
    "s": 63.359,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30673,
    "c": 0.1338,
    "h": 292.7
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#35186B
secondary
#7EA13E
accent
#E641AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #35186B

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

Preview Lab → · Contrast checker → · Palette generator →

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