#261A42#261A42

#261A42 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.6% C 0.073 H 294.5°. Best body text is #FFFFFF at 16.05:1 contrast (WCAG AA passes).

Color values

HEX#261A42
RGBrgb(38, 26, 66)
HSLhsl(258, 43%, 18%)
HSVhsv(258, 61%, 26%)
CMYKcmyk(42.4%, 60.6%, 0%, 74.1%)
CIE-LABlab(12.89, 16.94, -23.39)
CIE-LCHlch(12.89, 28.88, 305.90°)
OKLaboklab(25.6% 0.0303 -0.0663)
OKLCHoklch(25.6% 0.073 294.5)
XYZxyz(2.1518, 1.5442, 5.3379)
Luminance0.0154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A42 #36421A
analogous
#1A2242 #261A42 #3A1A42
triadic
#261A42 #42261A #1A4226
tetradic
#261A42 #421A22 #36421A #1A423A
square
#261A42 #421A22 #36421A #1A423A
split-complementary
#261A42 #423A1A #22421A
monochromatic
#0D0916 #0D0916 #261A42 #3F2B6E #593D9A

Accessibility & contrast

On white

16.05
#261A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261A42
16.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A42#FFFFFF#000000##FFFFFF
##261A421.0016.051.3116.05
#FFFFFF16.051.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#092243
Deuteranopia (green-blind)
#0C2141
Tritanopia (blue-blind)
#1F222B
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #261a42;
/* rgb */ color: rgb(38, 26, 66);
/* oklch */ color: oklch(25.6% 0.073 294.5);
Tailwind
colors: {
  custom: {
    50: '#625677',
    500: '#261a42',
    950: '#000000',
  },
}
SCSS
$custom: #261a42;
$custom-light: #625677;
$custom-dark: #000000;
JSON
{
  "hex": "#261a42",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 66
  },
  "hsl": {
    "h": 258,
    "s": 43.478,
    "l": 18.039
  },
  "oklch": {
    "l": 0.25604,
    "c": 0.07287,
    "h": 294.5
  },
  "luminance": 0.01544
}

Semantic roles & 50–950 ramp

primary
#261A42
secondary
#677840
accent
#D355AD
background
#F5F5F7
surface
#EAE9ED
border
#C6C5C8
text
#050308
muted
#79787B

Preview Lab

Preview with #261A42

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

Preview Lab → · Contrast checker → · Palette generator →

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