#261A4E#261A4E

#261A4E is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.6% C 0.091 H 289.3°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#261A4E
RGBrgb(38, 26, 78)
HSLhsl(254, 50%, 20%)
HSVhsv(254, 67%, 31%)
CMYKcmyk(51.3%, 66.7%, 0%, 69.4%)
CIE-LABlab(13.83, 20.97, -30.19)
CIE-LCHlch(13.83, 36.76, 304.79°)
OKLaboklab(26.6% 0.0302 -0.0863)
OKLCHoklch(26.6% 0.091 289.3)
XYZxyz(2.5435, 1.7008, 7.4005)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A4E #424E1A
analogous
#1A284E #261A4E #401A4E
triadic
#261A4E #4E261A #1A4E26
tetradic
#261A4E #4E1A28 #424E1A #1A4E40
square
#261A4E #4E1A28 #424E1A #1A4E40
split-complementary
#261A4E #4E401A #284E1A
monochromatic
#0B0817 #100B20 #261A4E #3C297C #5339AA

Accessibility & contrast

On white

15.67
#261A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261A4E
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A4E#FFFFFF#000000##FFFFFF
##261A4E1.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002450
Deuteranopia (green-blind)
#00224D
Tritanopia (blue-blind)
#192631
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #261a4e;
/* rgb */ color: rgb(38, 26, 78);
/* oklch */ color: oklch(26.6% 0.091 289.3);
Tailwind
colors: {
  custom: {
    50: '#645780',
    500: '#261a4e',
    950: '#000000',
  },
}
SCSS
$custom: #261a4e;
$custom-light: #645780;
$custom-dark: #000000;
JSON
{
  "hex": "#261a4e",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 78
  },
  "hsl": {
    "h": 253.846,
    "s": 50,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26601,
    "c": 0.09141,
    "h": 289.3
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#261A4E
secondary
#748440
accent
#DA4EB9
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #261A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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