#342467#342467

#342467 is a dark, moderate violet. Relative luminance 0.030; OKLCH L 32.1% C 0.112 H 289.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#342467
RGBrgb(52, 36, 103)
HSLhsl(254, 48%, 27%)
HSVhsv(254, 65%, 40%)
CMYKcmyk(49.5%, 65%, 0%, 59.6%)
CIE-LABlab(19.93, 25.95, -36.96)
CIE-LCHlch(19.93, 45.16, 305.08°)
OKLaboklab(32.07% 0.0375 -0.1056)
OKLCHoklch(32.07% 0.112 289.5)
XYZxyz(4.4945, 2.9709, 13.1660)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342467 #576724
analogous
#243667 #342467 #552467
triadic
#342467 #673424 #246734
tetradic
#342467 #672436 #576724 #246755
square
#342467 #672436 #576724 #246755
split-complementary
#342467 #675524 #366724
monochromatic
#0B0817 #1D143A #342467 #4B3494 #6347BF

Accessibility & contrast

On white

13.17
#342467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#342467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342467
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342467#FFFFFF#000000##FFFFFF
##3424671.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002F66
Tritanopia (blue-blind)
#243441
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #342467;
/* rgb */ color: rgb(52, 36, 103);
/* oklch */ color: oklch(32.1% 0.112 289.5);
Tailwind
colors: {
  custom: {
    50: '#705f93',
    500: '#342467',
    950: '#000000',
  },
}
SCSS
$custom: #342467;
$custom-light: #705f93;
$custom-dark: #000000;
JSON
{
  "hex": "#342467",
  "rgb": {
    "r": 52,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 254.328,
    "s": 48.201,
    "l": 27.255
  },
  "oklch": {
    "l": 0.3207,
    "c": 0.11211,
    "h": 289.5
  },
  "luminance": 0.02971
}

Semantic roles & 50–950 ramp

primary
#342467
secondary
#889A4C
accent
#D850B7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #342467

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

Preview Lab → · Contrast checker → · Palette generator →

#342467 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva