#391265#391265

#391265 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.9% C 0.134 H 299.2°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#391265
RGBrgb(57, 18, 101)
HSLhsl(268, 70%, 23%)
HSVhsv(268, 82%, 40%)
CMYKcmyk(43.6%, 82.2%, 0%, 60.4%)
CIE-LABlab(16.71, 36.51, -40.85)
CIE-LCHlch(16.71, 54.79, 311.78°)
OKLaboklab(29.86% 0.0654 -0.1168)
OKLCHoklch(29.86% 0.134 299.2)
XYZxyz(4.2520, 2.2420, 12.5181)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#391265 #3E6512
analogous
#121465 #391265 #621265
triadic
#391265 #653912 #126539
tetradic
#391265 #651214 #3E6512 #126562
square
#391265 #651214 #3E6512 #126562
split-complementary
#391265 #656212 #146512
monochromatic
#0F051A #1C0931 #391265 #561B99 #7425CD

Accessibility & contrast

On white

14.50
#391265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #391265
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##391265#FFFFFF#000000##FFFFFF
##3912651.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002967
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#2E283B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #391265;
/* rgb */ color: rgb(57, 18, 101);
/* oklch */ color: oklch(29.9% 0.134 299.2);
Tailwind
colors: {
  custom: {
    50: '#755592',
    500: '#391265',
    950: '#000000',
  },
}
SCSS
$custom: #391265;
$custom-light: #755592;
$custom-dark: #000000;
JSON
{
  "hex": "#391265",
  "rgb": {
    "r": 57,
    "g": 18,
    "b": 101
  },
  "hsl": {
    "h": 268.193,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29857,
    "c": 0.1339,
    "h": 299.2
  },
  "luminance": 0.02242
}

Semantic roles & 50–950 ramp

primary
#391265
secondary
#6C9D36
accent
#ED3B99
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #391265

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

Preview Lab → · Contrast checker → · Palette generator →

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