#34195D#34195D

#34195D is a dark, moderate violet. Relative luminance 0.022; OKLCH L 29.4% C 0.115 H 296.9°. Best body text is #FFFFFF at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#34195D
RGBrgb(52, 25, 93)
HSLhsl(264, 58%, 23%)
HSVhsv(264, 73%, 36%)
CMYKcmyk(44.1%, 73.1%, 0%, 63.5%)
CIE-LABlab(16.58, 29.62, -35.79)
CIE-LCHlch(16.58, 46.45, 309.61°)
OKLaboklab(29.39% 0.052 -0.1022)
OKLCHoklch(29.39% 0.115 296.9)
XYZxyz(3.7391, 2.2156, 10.5845)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34195D #425D19
analogous
#19205D #34195D #56195D
triadic
#34195D #5D3419 #195D34
tetradic
#34195D #5D1920 #425D19 #195D56
square
#34195D #5D1920 #425D19 #195D56
split-complementary
#34195D #5D5619 #205D19
monochromatic
#0D0618 #190C2D #34195D #4F268D #6A33BD

Accessibility & contrast

On white

14.55
#34195D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #34195D
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34195D#FFFFFF#000000##FFFFFF
##34195D1.0014.551.4414.55
#FFFFFF14.551.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00295F
Deuteranopia (green-blind)
#00285C
Tritanopia (blue-blind)
#2A2938
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #34195d;
/* rgb */ color: rgb(52, 25, 93);
/* oklch */ color: oklch(29.4% 0.115 296.9);
Tailwind
colors: {
  custom: {
    50: '#70588b',
    500: '#34195d',
    950: '#000000',
  },
}
SCSS
$custom: #34195d;
$custom-light: #70588b;
$custom-dark: #000000;
JSON
{
  "hex": "#34195d",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 93
  },
  "hsl": {
    "h": 263.824,
    "s": 57.627,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29387,
    "c": 0.11465,
    "h": 296.9
  },
  "luminance": 0.02216
}

Semantic roles & 50–950 ramp

primary
#34195D
secondary
#72933F
accent
#E147A4
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #34195D

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

Preview Lab → · Contrast checker → · Palette generator →

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