#261A4D#261A4D

#261A4D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.5% C 0.090 H 289.7°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#261A4D
RGBrgb(38, 26, 77)
HSLhsl(254, 50%, 20%)
HSVhsv(254, 66%, 30%)
CMYKcmyk(50.6%, 66.2%, 0%, 69.8%)
CIE-LABlab(13.75, 20.63, -29.64)
CIE-LCHlch(13.75, 36.11, 304.84°)
OKLaboklab(26.51% 0.0303 -0.0846)
OKLCHoklch(26.51% 0.09 289.7)
XYZxyz(2.5079, 1.6866, 7.2131)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A4D #414D1A
analogous
#1A274D #261A4D #401A4D
triadic
#261A4D #4D261A #1A4D26
tetradic
#261A4D #4D1A27 #414D1A #1A4D40
square
#261A4D #4D1A27 #414D1A #1A4D40
split-complementary
#261A4D #4D401A #274D1A
monochromatic
#0B0817 #0F0B1F #261A4D #3D297B #5339A9

Accessibility & contrast

On white

15.70
#261A4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#261A4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A4D
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A4D#FFFFFF#000000##FFFFFF
##261A4D1.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244F
Deuteranopia (green-blind)
#00224C
Tritanopia (blue-blind)
#1A2630
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #261a4d;
/* rgb */ color: rgb(38, 26, 77);
/* oklch */ color: oklch(26.5% 0.090 289.7);
Tailwind
colors: {
  custom: {
    50: '#64577f',
    500: '#261a4d',
    950: '#000000',
  },
}
SCSS
$custom: #261a4d;
$custom-light: #64577f;
$custom-dark: #000000;
JSON
{
  "hex": "#261a4d",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 77
  },
  "hsl": {
    "h": 254.118,
    "s": 49.515,
    "l": 20.196
  },
  "oklch": {
    "l": 0.26514,
    "c": 0.08989,
    "h": 289.7
  },
  "luminance": 0.01687
}

Semantic roles & 50–950 ramp

primary
#261A4D
secondary
#738340
accent
#D94FB9
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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