#261283#261283

#261283 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.170 H 277.9°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#261283
RGBrgb(38, 18, 131)
HSLhsl(251, 76%, 29%)
HSVhsv(251, 86%, 51%)
CMYKcmyk(71%, 86.3%, 0%, 48.6%)
CIE-LABlab(17.84, 42.86, -58.44)
CIE-LCHlch(17.84, 72.47, 306.26°)
OKLaboklab(31.12% 0.0235 -0.1688)
OKLCHoklch(31.12% 0.17 277.9)
XYZxyz(5.1110, 2.4829, 21.6782)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261283 #6F8312
analogous
#123783 #261283 #5F1283
triadic
#261283 #832612 #128326
tetradic
#261283 #831237 #6F8312 #12835F
square
#261283 #831237 #6F8312 #12835F
split-complementary
#261283 #835F12 #378312
monochromatic
#08041B #160B4D #261283 #3619B9 #4D2DE2

Accessibility & contrast

On white

14.03
#261283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#261283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261283
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261283#FFFFFF#000000##FFFFFF
##2612831.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002781
Tritanopia (blue-blind)
#00374D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261283;
/* rgb */ color: rgb(38, 18, 131);
/* oklch */ color: oklch(31.1% 0.170 277.9);
Tailwind
colors: {
  custom: {
    50: '#7055a8',
    500: '#261283',
    950: '#000000',
  },
}
SCSS
$custom: #261283;
$custom-light: #7055a8;
$custom-dark: #000000;
JSON
{
  "hex": "#261283",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 250.619,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.31115,
    "c": 0.17041,
    "h": 277.9
  },
  "luminance": 0.02483
}

Semantic roles & 50–950 ramp

primary
#261283
secondary
#A2B838
accent
#F235D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #261283

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

Preview Lab → · Contrast checker → · Palette generator →

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