#341070#341070

#341070 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.148 H 291.7°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#341070
RGBrgb(52, 16, 112)
HSLhsl(263, 75%, 25%)
HSVhsv(263, 86%, 44%)
CMYKcmyk(53.6%, 85.7%, 0%, 56.1%)
CIE-LABlab(16.85, 39.64, -47.86)
CIE-LCHlch(16.85, 62.14, 309.64°)
OKLaboklab(30.14% 0.0548 -0.1375)
OKLCHoklch(30.14% 0.148 291.7)
XYZxyz(4.5253, 2.2703, 15.5259)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341070 #4C7010
analogous
#101C70 #341070 #641070
triadic
#341070 #703410 #107034
tetradic
#341070 #70101C #4C7010 #107064
square
#341070 #70101C #4C7010 #107064
split-complementary
#341070 #706410 #1C7010
monochromatic
#0C041B #1B083A #341070 #4D18A6 #661FDB

Accessibility & contrast

On white

14.44
#341070 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#341070 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341070
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341070#FFFFFF#000000##FFFFFF
##3410701.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#1F2D41
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341070;
/* rgb */ color: rgb(52, 16, 112);
/* oklch */ color: oklch(30.1% 0.148 291.7);
Tailwind
colors: {
  custom: {
    50: '#73549a',
    500: '#341070',
    950: '#000000',
  },
}
SCSS
$custom: #341070;
$custom-light: #73549a;
$custom-dark: #000000;
JSON
{
  "hex": "#341070",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 112
  },
  "hsl": {
    "h": 262.5,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.3014,
    "c": 0.14804,
    "h": 291.7
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#341070
secondary
#7CA834
accent
#F236AB
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341070

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

Preview Lab → · Contrast checker → · Palette generator →

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