#261040#261040

#261040 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 23.6% C 0.087 H 300.9°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#261040
RGBrgb(38, 16, 64)
HSLhsl(268, 60%, 16%)
HSVhsv(268, 75%, 25%)
CMYKcmyk(40.6%, 75%, 0%, 74.9%)
CIE-LABlab(10.20, 22.98, -26.30)
CIE-LCHlch(10.20, 34.93, 311.14°)
OKLaboklab(23.59% 0.0449 -0.0748)
OKLCHoklch(23.59% 0.087 300.9)
XYZxyz(1.9098, 1.1528, 4.9714)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261040 #2A4010
analogous
#101240 #261040 #3E1040
triadic
#261040 #402610 #104026
tetradic
#261040 #401012 #2A4010 #10403E
square
#261040 #401012 #2A4010 #10403E
split-complementary
#261040 #403E10 #124010
monochromatic
#0F0618 #0F0618 #261040 #431C71 #6028A2

Accessibility & contrast

On white

17.06
#261040 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#261040 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261040
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261040#FFFFFF#000000##FFFFFF
##2610401.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C41
Deuteranopia (green-blind)
#001C3F
Tritanopia (blue-blind)
#201B26
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #261040;
/* rgb */ color: rgb(38, 16, 64);
/* oklch */ color: oklch(23.6% 0.087 300.9);
Tailwind
colors: {
  custom: {
    50: '#635075',
    500: '#261040',
    950: '#000000',
  },
}
SCSS
$custom: #261040;
$custom-light: #635075;
$custom-dark: #000000;
JSON
{
  "hex": "#261040",
  "rgb": {
    "r": 38,
    "g": 16,
    "b": 64
  },
  "hsl": {
    "h": 267.5,
    "s": 60,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23593,
    "c": 0.08724,
    "h": 300.9
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#261040
secondary
#597A32
accent
#E3459B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050208
muted
#7A787B

Preview Lab

Preview with #261040

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

Preview Lab → · Contrast checker → · Palette generator →

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