#261A38#261A38

#261A38 is a very dark, muted violet. Relative luminance 0.014; OKLCH L 24.9% C 0.057 H 300.8°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#261A38
RGBrgb(38, 26, 56)
HSLhsl(264, 37%, 16%)
HSVhsv(264, 54%, 22%)
CMYKcmyk(32.1%, 53.6%, 0%, 78%)
CIE-LABlab(12.20, 13.74, -17.42)
CIE-LCHlch(12.20, 22.18, 308.26°)
OKLaboklab(24.87% 0.0291 -0.0488)
OKLCHoklch(24.87% 0.057 300.8)
XYZxyz(1.8824, 1.4364, 3.9187)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A38 #2C381A
analogous
#1A1D38 #261A38 #351A38
triadic
#261A38 #38261A #1A3826
tetradic
#261A38 #381A1D #2C381A #1A3835
square
#261A38 #381A1D #2C381A #1A3835
split-complementary
#261A38 #38351A #1D381A
monochromatic
#0E0A15 #0E0A15 #261A38 #422D62 #5F418C

Accessibility & contrast

On white

16.31
#261A38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#261A38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A38
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A38#FFFFFF#000000##FFFFFF
##261A381.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112039
Deuteranopia (green-blind)
#142037
Tritanopia (blue-blind)
#231F26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #261a38;
/* rgb */ color: rgb(38, 26, 56);
/* oklch */ color: oklch(24.9% 0.057 300.8);
Tailwind
colors: {
  custom: {
    50: '#61566f',
    500: '#261a38',
    950: '#000000',
  },
}
SCSS
$custom: #261a38;
$custom-light: #61566f;
$custom-dark: #000000;
JSON
{
  "hex": "#261a38",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 56
  },
  "hsl": {
    "h": 264,
    "s": 36.585,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24867,
    "c": 0.05683,
    "h": 300.8
  },
  "luminance": 0.01436
}

Semantic roles & 50–950 ramp

primary
#261A38
secondary
#5B6D41
accent
#CD5B9F
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050307
muted
#79787A

Preview Lab

Preview with #261A38

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

Preview Lab → · Contrast checker → · Palette generator →

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