#34195B#34195B

#34195B is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.2% C 0.112 H 297.8°. Best body text is #FFFFFF at 14.62:1 contrast (WCAG AA passes).

Color values

HEX#34195B
RGBrgb(52, 25, 91)
HSLhsl(265, 57%, 23%)
HSVhsv(265, 73%, 36%)
CMYKcmyk(42.9%, 72.5%, 0%, 64.3%)
CIE-LABlab(16.41, 29.03, -34.73)
CIE-LCHlch(16.41, 45.26, 309.89°)
OKLaboklab(29.21% 0.0523 -0.0991)
OKLCHoklch(29.21% 0.112 297.8)
XYZxyz(3.6516, 2.1806, 10.1240)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34195B #405B19
analogous
#191F5B #34195B #55195B
triadic
#34195B #5B3419 #195B34
tetradic
#34195B #5B191F #405B19 #195B55
square
#34195B #5B191F #405B19 #195B55
split-complementary
#34195B #5B5519 #1F5B19
monochromatic
#0E0718 #190C2B #34195B #4F268B #6B33BB

Accessibility & contrast

On white

14.62
#34195B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#34195B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #34195B
14.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34195B#FFFFFF#000000##FFFFFF
##34195B1.0014.621.4414.62
#FFFFFF14.621.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295D
Deuteranopia (green-blind)
#00285A
Tritanopia (blue-blind)
#2B2937
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #34195b;
/* rgb */ color: rgb(52, 25, 91);
/* oklch */ color: oklch(29.2% 0.112 297.8);
Tailwind
colors: {
  custom: {
    50: '#6f588a',
    500: '#34195b',
    950: '#000000',
  },
}
SCSS
$custom: #34195b;
$custom-light: #6f588a;
$custom-dark: #000000;
JSON
{
  "hex": "#34195b",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 91
  },
  "hsl": {
    "h": 264.545,
    "s": 56.897,
    "l": 22.745
  },
  "oklch": {
    "l": 0.2921,
    "c": 0.11203,
    "h": 297.8
  },
  "luminance": 0.02181
}

Semantic roles & 50–950 ramp

primary
#34195B
secondary
#6F913F
accent
#E048A2
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #34195B

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

Preview Lab → · Contrast checker → · Palette generator →

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