#261676#261676

#261676 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.151 H 279.8°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#261676
RGBrgb(38, 22, 118)
HSLhsl(250, 69%, 27%)
HSVhsv(250, 81%, 46%)
CMYKcmyk(67.8%, 81.4%, 0%, 53.7%)
CIE-LABlab(16.96, 36.86, -51.60)
CIE-LCHlch(16.96, 63.42, 305.54°)
OKLaboklab(30.05% 0.0257 -0.149)
OKLCHoklch(30.05% 0.151 279.8)
XYZxyz(4.3552, 2.2935, 17.3492)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261676 #667616
analogous
#163676 #261676 #561676
triadic
#261676 #762616 #167626
tetradic
#261676 #761636 #667616 #167656
square
#261676 #761636 #667616 #167656
split-complementary
#261676 #765616 #367616
monochromatic
#08051A #150C42 #261676 #3720AA #4B2ED8

Accessibility & contrast

On white

14.40
#261676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#261676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261676
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261676#FFFFFF#000000##FFFFFF
##2616761.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002674
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #261676;
/* rgb */ color: rgb(38, 22, 118);
/* oklch */ color: oklch(30.1% 0.151 279.8);
Tailwind
colors: {
  custom: {
    50: '#6d569f',
    500: '#261676',
    950: '#000000',
  },
}
SCSS
$custom: #261676;
$custom-light: #6d569f;
$custom-dark: #000000;
JSON
{
  "hex": "#261676",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 250,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.30052,
    "c": 0.15118,
    "h": 279.8
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#261676
secondary
#99AC3C
accent
#EB3CCE
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030F
muted
#7B787E

Preview Lab

Preview with #261676

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

Preview Lab → · Contrast checker → · Palette generator →

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