#261A5A#261A5A

#261A5A is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.7% C 0.109 H 285.4°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#261A5A
RGBrgb(38, 26, 90)
HSLhsl(251, 55%, 23%)
HSVhsv(251, 71%, 35%)
CMYKcmyk(57.8%, 71.1%, 0%, 64.7%)
CIE-LABlab(14.89, 25.09, -36.60)
CIE-LCHlch(14.89, 44.38, 304.44°)
OKLaboklab(27.71% 0.029 -0.1051)
OKLCHoklch(27.71% 0.109 285.4)
XYZxyz(3.0136, 1.8889, 9.8767)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A5A #4E5A1A
analogous
#1A2E5A #261A5A #461A5A
triadic
#261A5A #5A261A #1A5A26
tetradic
#261A5A #5A1A2E #4E5A1A #1A5A46
square
#261A5A #5A1A2E #4E5A1A #1A5A46
split-complementary
#261A5A #5A461A #2E5A1A
monochromatic
#0A0718 #120C2B #261A5A #3A2889 #4E35B9

Accessibility & contrast

On white

15.24
#261A5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#261A5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A5A
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A5A#FFFFFF#000000##FFFFFF
##261A5A1.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275C
Deuteranopia (green-blind)
#002459
Tritanopia (blue-blind)
#102A37
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261a5a;
/* rgb */ color: rgb(38, 26, 90);
/* oklch */ color: oklch(27.7% 0.109 285.4);
Tailwind
colors: {
  custom: {
    50: '#665789',
    500: '#261a5a',
    950: '#000000',
  },
}
SCSS
$custom: #261a5a;
$custom-light: #665789;
$custom-dark: #000000;
JSON
{
  "hex": "#261a5a",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 90
  },
  "hsl": {
    "h": 251.25,
    "s": 55.172,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27706,
    "c": 0.10904,
    "h": 285.4
  },
  "luminance": 0.01889
}

Semantic roles & 50–950 ramp

primary
#261A5A
secondary
#819040
accent
#DF49C3
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #261A5A

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

Preview Lab → · Contrast checker → · Palette generator →

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