#261671#261671

#261671 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.145 H 280.8°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#261671
RGBrgb(38, 22, 113)
HSLhsl(251, 67%, 26%)
HSVhsv(251, 81%, 44%)
CMYKcmyk(66.4%, 80.5%, 0%, 55.7%)
CIE-LABlab(16.39, 35.24, -49.30)
CIE-LCHlch(16.39, 60.60, 305.55°)
OKLaboklab(29.49% 0.0272 -0.1423)
OKLCHoklch(29.49% 0.145 280.8)
XYZxyz(4.0659, 2.1778, 15.8257)
Luminance0.0218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261671 #617116
analogous
#163471 #261671 #541671
triadic
#261671 #712616 #167126
tetradic
#261671 #711634 #617116 #167154
square
#261671 #711634 #617116 #167154
split-complementary
#261671 #715416 #347116
monochromatic
#09051A #150C3E #261671 #3720A4 #4A2CD6

Accessibility & contrast

On white

14.63
#261671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#261671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261671
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261671#FFFFFF#000000##FFFFFF
##2616711.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C74
Deuteranopia (green-blind)
#00256F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #261671;
/* rgb */ color: rgb(38, 22, 113);
/* oklch */ color: oklch(29.5% 0.145 280.8);
Tailwind
colors: {
  custom: {
    50: '#6c569b',
    500: '#261671',
    950: '#000000',
  },
}
SCSS
$custom: #261671;
$custom-light: #6c569b;
$custom-dark: #000000;
JSON
{
  "hex": "#261671",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 250.549,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.2949,
    "c": 0.14485,
    "h": 280.8
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#261671
secondary
#94A73C
accent
#EA3ECC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261671

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

Preview Lab → · Contrast checker → · Palette generator →

#261671 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva