#341370#341370

#341370 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.145 H 291.3°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#341370
RGBrgb(52, 19, 112)
HSLhsl(261, 71%, 26%)
HSVhsv(261, 83%, 44%)
CMYKcmyk(53.6%, 83%, 0%, 56.1%)
CIE-LABlab(17.30, 38.32, -47.11)
CIE-LCHlch(17.30, 60.73, 309.13°)
OKLaboklab(30.45% 0.0527 -0.1354)
OKLCHoklch(30.45% 0.145 291.3)
XYZxyz(4.5728, 2.3655, 15.5417)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341370 #4F7013
analogous
#132170 #341370 #621370
triadic
#341370 #703413 #137034
tetradic
#341370 #701321 #4F7013 #137062
square
#341370 #701321 #4F7013 #137062
split-complementary
#341370 #706213 #217013
monochromatic
#0C041A #1C0A3C #341370 #4C1CA4 #6525D9

Accessibility & contrast

On white

14.25
#341370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#341370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341370
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341370#FFFFFF#000000##FFFFFF
##3413701.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00286E
Tritanopia (blue-blind)
#1F2E42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341370;
/* rgb */ color: rgb(52, 19, 112);
/* oklch */ color: oklch(30.5% 0.145 291.3);
Tailwind
colors: {
  custom: {
    50: '#73569a',
    500: '#341370',
    950: '#000000',
  },
}
SCSS
$custom: #341370;
$custom-light: #73569a;
$custom-dark: #000000;
JSON
{
  "hex": "#341370",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 112
  },
  "hsl": {
    "h": 261.29,
    "s": 70.992,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30454,
    "c": 0.14525,
    "h": 291.3
  },
  "luminance": 0.02366
}

Semantic roles & 50–950 ramp

primary
#341370
secondary
#7FA738
accent
#EE3AAE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341370

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

Preview Lab → · Contrast checker → · Palette generator →

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