#341865#341865

#341865 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.126 H 294.0°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#341865
RGBrgb(52, 24, 101)
HSLhsl(262, 62%, 25%)
HSVhsv(262, 76%, 40%)
CMYKcmyk(48.5%, 76.2%, 0%, 60.4%)
CIE-LABlab(17.10, 32.57, -40.25)
CIE-LCHlch(17.10, 51.77, 308.98°)
OKLaboklab(29.98% 0.0514 -0.1153)
OKLCHoklch(29.98% 0.126 294)
XYZxyz(4.0911, 2.3228, 12.5422)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341865 #496518
analogous
#182365 #341865 #5B1865
triadic
#341865 #653418 #186534
tetradic
#341865 #651823 #496518 #18655B
square
#341865 #651823 #496518 #18655B
split-complementary
#341865 #655B18 #236518
monochromatic
#0D0619 #1B0C34 #341865 #4D2496 #6730C8

Accessibility & contrast

On white

14.34
#341865 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#341865 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341865
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341865#FFFFFF#000000##FFFFFF
##3418651.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#262C3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341865;
/* rgb */ color: rgb(52, 24, 101);
/* oklch */ color: oklch(30.0% 0.126 294.0);
Tailwind
colors: {
  custom: {
    50: '#715892',
    500: '#341865',
    950: '#000000',
  },
}
SCSS
$custom: #341865;
$custom-light: #715892;
$custom-dark: #000000;
JSON
{
  "hex": "#341865",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 101
  },
  "hsl": {
    "h": 261.818,
    "s": 61.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.2998,
    "c": 0.12625,
    "h": 294
  },
  "luminance": 0.02323
}

Semantic roles & 50–950 ramp

primary
#341865
secondary
#799B3E
accent
#E543AA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341865

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

Preview Lab → · Contrast checker → · Palette generator →

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