#261A58#261A58

#261A58 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.5% C 0.106 H 286.0°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#261A58
RGBrgb(38, 26, 88)
HSLhsl(252, 54%, 22%)
HSVhsv(252, 70%, 35%)
CMYKcmyk(56.8%, 70.5%, 0%, 65.5%)
CIE-LABlab(14.71, 24.40, -35.55)
CIE-LCHlch(14.71, 43.12, 304.46°)
OKLaboklab(27.52% 0.0293 -0.102)
OKLCHoklch(27.52% 0.106 286)
XYZxyz(2.9296, 1.8553, 9.4344)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A58 #4C581A
analogous
#1A2D58 #261A58 #451A58
triadic
#261A58 #58261A #1A5826
tetradic
#261A58 #581A2D #4C581A #1A5845
square
#261A58 #581A2D #4C581A #1A5845
split-complementary
#261A58 #58451A #2D581A
monochromatic
#0A0718 #120C29 #261A58 #3A2887 #4F36B6

Accessibility & contrast

On white

15.32
#261A58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#261A58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A58
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A58#FFFFFF#000000##FFFFFF
##261A581.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275A
Deuteranopia (green-blind)
#002357
Tritanopia (blue-blind)
#122936
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #261a58;
/* rgb */ color: rgb(38, 26, 88);
/* oklch */ color: oklch(27.5% 0.106 286.0);
Tailwind
colors: {
  custom: {
    50: '#665788',
    500: '#261a58',
    950: '#000000',
  },
}
SCSS
$custom: #261a58;
$custom-light: #665788;
$custom-dark: #000000;
JSON
{
  "hex": "#261a58",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 88
  },
  "hsl": {
    "h": 251.613,
    "s": 54.386,
    "l": 22.353
  },
  "oklch": {
    "l": 0.27515,
    "c": 0.10616,
    "h": 286
  },
  "luminance": 0.01855
}

Semantic roles & 50–950 ramp

primary
#261A58
secondary
#7F8E40
accent
#DE4AC1
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261A58

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

Preview Lab → · Contrast checker → · Palette generator →

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