#261A56#261A56

#261A56 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.103 H 286.6°. Best body text is #FFFFFF at 15.39:1 contrast (WCAG AA passes).

Color values

HEX#261A56
RGBrgb(38, 26, 86)
HSLhsl(252, 54%, 22%)
HSVhsv(252, 70%, 34%)
CMYKcmyk(55.8%, 69.8%, 0%, 66.3%)
CIE-LABlab(14.53, 23.71, -34.50)
CIE-LCHlch(14.53, 41.87, 304.50°)
OKLaboklab(27.33% 0.0295 -0.0989)
OKLCHoklch(27.33% 0.103 286.6)
XYZxyz(2.8479, 1.8226, 9.0040)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A56 #4A561A
analogous
#1A2C56 #261A56 #441A56
triadic
#261A56 #56261A #1A5626
tetradic
#261A56 #561A2C #4A561A #1A5644
square
#261A56 #561A2C #4A561A #1A5644
split-complementary
#261A56 #56441A #2C561A
monochromatic
#0A0717 #110C27 #261A56 #3B2885 #5036B4

Accessibility & contrast

On white

15.39
#261A56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#261A56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A56
15.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A56#FFFFFF#000000##FFFFFF
##261A561.0015.391.3615.39
#FFFFFF15.391.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#002355
Tritanopia (blue-blind)
#142935
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261a56;
/* rgb */ color: rgb(38, 26, 86);
/* oklch */ color: oklch(27.3% 0.103 286.6);
Tailwind
colors: {
  custom: {
    50: '#665786',
    500: '#261a56',
    950: '#000000',
  },
}
SCSS
$custom: #261a56;
$custom-light: #665786;
$custom-dark: #000000;
JSON
{
  "hex": "#261a56",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 86
  },
  "hsl": {
    "h": 252,
    "s": 53.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.27327,
    "c": 0.10325,
    "h": 286.6
  },
  "luminance": 0.01823
}

Semantic roles & 50–950 ramp

primary
#261A56
secondary
#7D8C40
accent
#DD4BC0
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261A56

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

Preview Lab → · Contrast checker → · Palette generator →

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