#261A41#261A41

#261A41 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.5% C 0.071 H 295.1°. Best body text is #FFFFFF at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#261A41
RGBrgb(38, 26, 65)
HSLhsl(258, 43%, 18%)
HSVhsv(258, 60%, 25%)
CMYKcmyk(41.5%, 60%, 0%, 74.5%)
CIE-LABlab(12.81, 16.61, -22.81)
CIE-LCHlch(12.81, 28.22, 306.06°)
OKLaboklab(25.53% 0.0302 -0.0646)
OKLCHoklch(25.53% 0.071 295.1)
XYZxyz(2.1226, 1.5325, 5.1840)
Luminance0.0153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A41 #35411A
analogous
#1A2141 #261A41 #391A41
triadic
#261A41 #41261A #1A4126
tetradic
#261A41 #411A21 #35411A #1A4139
square
#261A41 #411A21 #35411A #1A4139
split-complementary
#261A41 #41391A #21411A
monochromatic
#0D0916 #0D0916 #261A41 #402B6D #593D98

Accessibility & contrast

On white

16.07
#261A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#261A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A41
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A41#FFFFFF#000000##FFFFFF
##261A411.0016.071.3116.07
#FFFFFF16.071.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A2142
Deuteranopia (green-blind)
#0D2140
Tritanopia (blue-blind)
#20222A
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #261a41;
/* rgb */ color: rgb(38, 26, 65);
/* oklch */ color: oklch(25.5% 0.071 295.1);
Tailwind
colors: {
  custom: {
    50: '#625676',
    500: '#261a41',
    950: '#000000',
  },
}
SCSS
$custom: #261a41;
$custom-light: #625676;
$custom-dark: #000000;
JSON
{
  "hex": "#261a41",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 258.462,
    "s": 42.857,
    "l": 17.843
  },
  "oklch": {
    "l": 0.25526,
    "c": 0.0713,
    "h": 295.1
  },
  "luminance": 0.01533
}

Semantic roles & 50–950 ramp

primary
#261A41
secondary
#667740
accent
#D355AC
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #261A41

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

Preview Lab → · Contrast checker → · Palette generator →

#261A41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva