#3B1175#3B1175

#3B1175 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.6% C 0.153 H 294.7°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#3B1175
RGBrgb(59, 17, 117)
HSLhsl(265, 75%, 26%)
HSVhsv(265, 85%, 46%)
CMYKcmyk(49.6%, 85.5%, 0%, 54.1%)
CIE-LABlab(18.43, 41.58, -48.45)
CIE-LCHlch(18.43, 63.84, 310.63°)
OKLaboklab(31.6% 0.0641 -0.139)
OKLCHoklch(31.6% 0.153 294.7)
XYZxyz(5.2141, 2.6149, 17.0562)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B1175 #4B7511
analogous
#111975 #3B1175 #6D1175
triadic
#3B1175 #753B11 #11753B
tetradic
#3B1175 #751119 #4B7511 #11756D
square
#3B1175 #751119 #4B7511 #11756D
split-complementary
#3B1175 #756D11 #197511
monochromatic
#0D041B #200940 #3B1175 #5619AA #7122DF

Accessibility & contrast

On white

13.79
#3B1175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#3B1175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3B1175
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B1175#FFFFFF#000000##FFFFFF
##3B11751.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002B73
Tritanopia (blue-blind)
#2A2F44
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #3b1175;
/* rgb */ color: rgb(59, 17, 117);
/* oklch */ color: oklch(31.6% 0.153 294.7);
Tailwind
colors: {
  custom: {
    50: '#78569e',
    500: '#3b1175',
    950: '#000000',
  },
}
SCSS
$custom: #3b1175;
$custom-light: #78569e;
$custom-dark: #000000;
JSON
{
  "hex": "#3b1175",
  "rgb": {
    "r": 59,
    "g": 17,
    "b": 117
  },
  "hsl": {
    "h": 265.2,
    "s": 74.627,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31598,
    "c": 0.15307,
    "h": 294.7
  },
  "luminance": 0.02615
}

Semantic roles & 50–950 ramp

primary
#3B1175
secondary
#7AAC36
accent
#F137A3
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A030E
muted
#7C787E

Preview Lab

Preview with #3B1175

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

Preview Lab → · Contrast checker → · Palette generator →

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