#261A3D#261A3D

#261A3D is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.2% C 0.065 H 297.4°. Best body text is #FFFFFF at 16.18:1 contrast (WCAG AA passes).

Color values

HEX#261A3D
RGBrgb(38, 26, 61)
HSLhsl(261, 40%, 17%)
HSVhsv(261, 57%, 24%)
CMYKcmyk(37.7%, 57.4%, 0%, 76.1%)
CIE-LABlab(12.53, 15.31, -20.44)
CIE-LCHlch(12.53, 25.54, 306.83°)
OKLaboklab(25.22% 0.0298 -0.0576)
OKLCHoklch(25.22% 0.065 297.4)
XYZxyz(2.0108, 1.4878, 4.5952)
Luminance0.0149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A3D #313D1A
analogous
#1A203D #261A3D #381A3D
triadic
#261A3D #3D261A #1A3D26
tetradic
#261A3D #3D1A20 #313D1A #1A3D38
square
#261A3D #3D1A20 #313D1A #1A3D38
split-complementary
#261A3D #3D381A #203D1A
monochromatic
#0D0915 #0D0915 #261A3D #412C68 #5B3F93

Accessibility & contrast

On white

16.18
#261A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#261A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A3D
16.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A3D#FFFFFF#000000##FFFFFF
##261A3D1.0016.181.3016.18
#FFFFFF16.181.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E213E
Deuteranopia (green-blind)
#10203C
Tritanopia (blue-blind)
#212128
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #261a3d;
/* rgb */ color: rgb(38, 26, 61);
/* oklch */ color: oklch(25.2% 0.065 297.4);
Tailwind
colors: {
  custom: {
    50: '#625673',
    500: '#261a3d',
    950: '#000000',
  },
}
SCSS
$custom: #261a3d;
$custom-light: #625673;
$custom-dark: #000000;
JSON
{
  "hex": "#261a3d",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 260.571,
    "s": 40.23,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25224,
    "c": 0.06491,
    "h": 297.4
  },
  "luminance": 0.01488
}

Semantic roles & 50–950 ramp

primary
#261A3D
secondary
#617340
accent
#D058A7
background
#F5F5F6
surface
#EAE9EC
border
#C6C5C7
text
#050308
muted
#79787B

Preview Lab

Preview with #261A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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