#342269#342269

#342269 is a dark, moderate violet. Relative luminance 0.029; OKLCH L 31.9% C 0.118 H 289.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#342269
RGBrgb(52, 34, 105)
HSLhsl(255, 51%, 27%)
HSVhsv(255, 68%, 41%)
CMYKcmyk(50.5%, 67.6%, 0%, 58.8%)
CIE-LABlab(19.61, 27.87, -38.77)
CIE-LCHlch(19.61, 47.75, 305.71°)
OKLaboklab(31.9% 0.0397 -0.111)
OKLCHoklch(31.9% 0.118 289.7)
XYZxyz(4.5373, 2.8939, 13.6814)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#342269 #576922
analogous
#223469 #342269 #572269
triadic
#342269 #693422 #226934
tetradic
#342269 #692234 #576922 #226957
square
#342269 #692234 #576922 #226957
split-complementary
#342269 #695722 #346922
monochromatic
#0B0717 #1D133B #342269 #4B3197 #6343C2

Accessibility & contrast

On white

13.30
#342269 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#342269 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #342269
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##342269#FFFFFF#000000##FFFFFF
##3422691.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00316B
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#233342
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #342269;
/* rgb */ color: rgb(52, 34, 105);
/* oklch */ color: oklch(31.9% 0.118 289.7);
Tailwind
colors: {
  custom: {
    50: '#715e94',
    500: '#342269',
    950: '#000000',
  },
}
SCSS
$custom: #342269;
$custom-light: #715e94;
$custom-dark: #000000;
JSON
{
  "hex": "#342269",
  "rgb": {
    "r": 52,
    "g": 34,
    "b": 105
  },
  "hsl": {
    "h": 255.211,
    "s": 51.079,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31895,
    "c": 0.11788,
    "h": 289.7
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#342269
secondary
#889D4A
accent
#DB4DB7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #342269

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

Preview Lab → · Contrast checker → · Palette generator →

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