#261A5F#261A5F

#261A5F is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.2% C 0.116 H 284.0°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#261A5F
RGBrgb(38, 26, 95)
HSLhsl(250, 57%, 24%)
HSVhsv(250, 73%, 37%)
CMYKcmyk(60%, 72.6%, 0%, 62.7%)
CIE-LABlab(15.37, 26.82, -39.17)
CIE-LCHlch(15.37, 47.47, 304.40°)
OKLaboklab(28.19% 0.0282 -0.1127)
OKLCHoklch(28.19% 0.116 284)
XYZxyz(3.2337, 1.9769, 11.0354)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A5F #535F1A
analogous
#1A305F #261A5F #481A5F
triadic
#261A5F #5F261A #1A5F26
tetradic
#261A5F #5F1A30 #535F1A #1A5F48
square
#261A5F #5F1A30 #535F1A #1A5F48
split-complementary
#261A5F #5F481A #305F1A
monochromatic
#0A0718 #130D2F #261A5F #39278F #4C34BF

Accessibility & contrast

On white

15.05
#261A5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#261A5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A5F
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A5F#FFFFFF#000000##FFFFFF
##261A5F1.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002961
Deuteranopia (green-blind)
#00245E
Tritanopia (blue-blind)
#0A2C3A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #261a5f;
/* rgb */ color: rgb(38, 26, 95);
/* oklch */ color: oklch(28.2% 0.116 284.0);
Tailwind
colors: {
  custom: {
    50: '#67578d',
    500: '#261a5f',
    950: '#000000',
  },
}
SCSS
$custom: #261a5f;
$custom-light: #67578d;
$custom-dark: #000000;
JSON
{
  "hex": "#261a5f",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 95
  },
  "hsl": {
    "h": 250.435,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.28192,
    "c": 0.11613,
    "h": 284
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#261A5F
secondary
#869540
accent
#E048C6
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030C
muted
#7A787D

Preview Lab

Preview with #261A5F

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

Preview Lab → · Contrast checker → · Palette generator →

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