#341970#341970

#341970 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.139 H 290.1°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).

Color values

HEX#341970
RGBrgb(52, 25, 112)
HSLhsl(259, 64%, 27%)
HSVhsv(259, 78%, 44%)
CMYKcmyk(53.6%, 77.7%, 0%, 56.1%)
CIE-LABlab(18.34, 35.33, -45.40)
CIE-LCHlch(18.34, 57.53, 307.89°)
OKLaboklab(31.18% 0.0477 -0.1304)
OKLCHoklch(31.18% 0.139 290.1)
XYZxyz(4.6876, 2.5950, 15.5800)
Luminance0.0260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341970 #557019
analogous
#192970 #341970 #601970
triadic
#341970 #703419 #197034
tetradic
#341970 #701929 #557019 #197060
square
#341970 #701929 #557019 #197060
split-complementary
#341970 #706019 #297019
monochromatic
#0C0619 #1D0E3E #341970 #4B24A2 #6432D1

Accessibility & contrast

On white

13.82
#341970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#341970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341970
13.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341970#FFFFFF#000000##FFFFFF
##3419701.0013.821.5213.82
#FFFFFF13.821.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E73
Deuteranopia (green-blind)
#002B6E
Tritanopia (blue-blind)
#1F3143
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341970;
/* rgb */ color: rgb(52, 25, 112);
/* oklch */ color: oklch(31.2% 0.139 290.1);
Tailwind
colors: {
  custom: {
    50: '#73599a',
    500: '#341970',
    950: '#000000',
  },
}
SCSS
$custom: #341970;
$custom-light: #73599a;
$custom-dark: #000000;
JSON
{
  "hex": "#341970",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 112
  },
  "hsl": {
    "h": 258.621,
    "s": 63.504,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31184,
    "c": 0.13885,
    "h": 290.1
  },
  "luminance": 0.02595
}

Semantic roles & 50–950 ramp

primary
#341970
secondary
#86A540
accent
#E741B3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341970

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

Preview Lab → · Contrast checker → · Palette generator →

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