#34136F#34136F

#34136F is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.144 H 291.6°. Best body text is #FFFFFF at 14.30:1 contrast (WCAG AA passes).

Color values

HEX#34136F
RGBrgb(52, 19, 111)
HSLhsl(262, 71%, 25%)
HSVhsv(262, 83%, 44%)
CMYKcmyk(53.2%, 82.9%, 0%, 56.5%)
CIE-LABlab(17.19, 38.04, -46.63)
CIE-LCHlch(17.19, 60.18, 309.20°)
OKLaboklab(30.35% 0.053 -0.134)
OKLCHoklch(30.35% 0.144 291.6)
XYZxyz(4.5175, 2.3433, 15.2501)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34136F #4E6F13
analogous
#13206F #34136F #62136F
triadic
#34136F #6F3413 #136F34
tetradic
#34136F #6F1320 #4E6F13 #136F62
square
#34136F #6F1320 #4E6F13 #136F62
split-complementary
#34136F #6F6213 #206F13
monochromatic
#0C041A #1C0A3B #34136F #4C1CA3 #6525D8

Accessibility & contrast

On white

14.30
#34136F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#34136F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34136F
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34136F#FFFFFF#000000##FFFFFF
##34136F1.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C72
Deuteranopia (green-blind)
#00286D
Tritanopia (blue-blind)
#202E41
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #34136f;
/* rgb */ color: rgb(52, 19, 111);
/* oklch */ color: oklch(30.3% 0.144 291.6);
Tailwind
colors: {
  custom: {
    50: '#735599',
    500: '#34136f',
    950: '#000000',
  },
}
SCSS
$custom: #34136f;
$custom-light: #735599;
$custom-dark: #000000;
JSON
{
  "hex": "#34136f",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 111
  },
  "hsl": {
    "h": 261.522,
    "s": 70.769,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3035,
    "c": 0.14408,
    "h": 291.6
  },
  "luminance": 0.02344
}

Semantic roles & 50–950 ramp

primary
#34136F
secondary
#7EA638
accent
#EE3AAD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #34136F

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

Preview Lab → · Contrast checker → · Palette generator →

#34136F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva