#341670#341670

#341670 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.142 H 290.7°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#341670
RGBrgb(52, 22, 112)
HSLhsl(260, 67%, 26%)
HSVhsv(260, 80%, 44%)
CMYKcmyk(53.6%, 80.4%, 0%, 56.1%)
CIE-LABlab(17.80, 36.88, -46.29)
CIE-LCHlch(17.80, 59.19, 308.55°)
OKLaboklab(30.8% 0.0503 -0.133)
OKLCHoklch(30.8% 0.142 290.7)
XYZxyz(4.6269, 2.4735, 15.5597)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341670 #527016
analogous
#162570 #341670 #611670
triadic
#341670 #703416 #167034
tetradic
#341670 #701625 #527016 #167061
square
#341670 #701625 #527016 #167061
split-complementary
#341670 #706116 #257016
monochromatic
#0C051A #1C0C3D #341670 #4C20A3 #642BD5

Accessibility & contrast

On white

14.05
#341670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#341670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341670
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341670#FFFFFF#000000##FFFFFF
##3416701.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#002A6E
Tritanopia (blue-blind)
#1F2F42
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341670;
/* rgb */ color: rgb(52, 22, 112);
/* oklch */ color: oklch(30.8% 0.142 290.7);
Tailwind
colors: {
  custom: {
    50: '#73579a',
    500: '#341670',
    950: '#000000',
  },
}
SCSS
$custom: #341670;
$custom-light: #73579a;
$custom-dark: #000000;
JSON
{
  "hex": "#341670",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 260,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30802,
    "c": 0.14218,
    "h": 290.7
  },
  "luminance": 0.02474
}

Semantic roles & 50–950 ramp

primary
#341670
secondary
#83A63C
accent
#EA3EB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341670

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

Preview Lab → · Contrast checker → · Palette generator →

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