#3B176E#3B176E

#3B176E is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.139 H 296.2°. Best body text is #FFFFFF at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#3B176E
RGBrgb(59, 23, 110)
HSLhsl(265, 65%, 26%)
HSVhsv(265, 79%, 43%)
CMYKcmyk(46.4%, 79.1%, 0%, 56.9%)
CIE-LABlab(18.66, 36.98, -43.54)
CIE-LCHlch(18.66, 57.12, 310.34°)
OKLaboklab(31.55% 0.0614 -0.1247)
OKLCHoklch(31.55% 0.139 296.2)
XYZxyz(4.9238, 2.6683, 15.0044)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B176E #4A6E17
analogous
#171E6E #3B176E #66176E
triadic
#3B176E #6E3B17 #176E3B
tetradic
#3B176E #6E171E #4A6E17 #176E66
square
#3B176E #6E171E #4A6E17 #176E66
split-complementary
#3B176E #6E6617 #1E6E17
monochromatic
#0E0519 #200C3B #3B176E #5622A1 #712CD3

Accessibility & contrast

On white

13.69
#3B176E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#3B176E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B176E
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B176E#FFFFFF#000000##FFFFFF
##3B176E1.0013.691.5313.69
#FFFFFF13.691.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E70
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#2D2E41
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b176e;
/* rgb */ color: rgb(59, 23, 110);
/* oklch */ color: oklch(31.5% 0.139 296.2);
Tailwind
colors: {
  custom: {
    50: '#775898',
    500: '#3b176e',
    950: '#000000',
  },
}
SCSS
$custom: #3b176e;
$custom-light: #775898;
$custom-dark: #000000;
JSON
{
  "hex": "#3b176e",
  "rgb": {
    "r": 59,
    "g": 23,
    "b": 110
  },
  "hsl": {
    "h": 264.828,
    "s": 65.414,
    "l": 26.078
  },
  "oklch": {
    "l": 0.31549,
    "c": 0.13901,
    "h": 296.2
  },
  "luminance": 0.02668
}

Semantic roles & 50–950 ramp

primary
#3B176E
secondary
#79A43D
accent
#E83FA2
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #3B176E

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

Preview Lab → · Contrast checker → · Palette generator →

#3B176E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva