#261A62#261A62

#261A62 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.5% C 0.120 H 283.3°. Best body text is #FFFFFF at 14.93:1 contrast (WCAG AA passes).

Color values

HEX#261A62
RGBrgb(38, 26, 98)
HSLhsl(250, 58%, 24%)
HSVhsv(250, 73%, 38%)
CMYKcmyk(61.2%, 73.5%, 0%, 61.6%)
CIE-LABlab(15.66, 27.85, -40.69)
CIE-LCHlch(15.66, 49.30, 304.39°)
OKLaboklab(28.49% 0.0276 -0.1171)
OKLCHoklch(28.49% 0.12 283.3)
XYZxyz(3.3726, 2.0325, 11.7675)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A62 #56621A
analogous
#1A3262 #261A62 #4A1A62
triadic
#261A62 #62261A #1A6226
tetradic
#261A62 #621A32 #56621A #1A624A
square
#261A62 #621A32 #56621A #1A624A
split-complementary
#261A62 #624A1A #32621A
monochromatic
#090618 #130D32 #261A62 #392792 #4C34C3

Accessibility & contrast

On white

14.93
#261A62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#261A62 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A62
14.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A62#FFFFFF#000000##FFFFFF
##261A621.0014.931.4114.93
#FFFFFF14.931.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002964
Deuteranopia (green-blind)
#002561
Tritanopia (blue-blind)
#062D3B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261a62;
/* rgb */ color: rgb(38, 26, 98);
/* oklch */ color: oklch(28.5% 0.120 283.3);
Tailwind
colors: {
  custom: {
    50: '#68578f',
    500: '#261a62',
    950: '#000000',
  },
}
SCSS
$custom: #261a62;
$custom-light: #68578f;
$custom-dark: #000000;
JSON
{
  "hex": "#261a62",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 98
  },
  "hsl": {
    "h": 250,
    "s": 58.065,
    "l": 24.314
  },
  "oklch": {
    "l": 0.28491,
    "c": 0.12033,
    "h": 283.3
  },
  "luminance": 0.02033
}

Semantic roles & 50–950 ramp

primary
#261A62
secondary
#899840
accent
#E147C7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#07030C
muted
#7A787D

Preview Lab

Preview with #261A62

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

Preview Lab → · Contrast checker → · Palette generator →

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