#231361#231361

#231361 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.0% C 0.128 H 283.2°. Best body text is #FFFFFF at 15.70:1 contrast (WCAG AA passes).

Color values

HEX#231361
RGBrgb(35, 19, 97)
HSLhsl(252, 67%, 23%)
HSVhsv(252, 80%, 38%)
CMYKcmyk(63.9%, 80.4%, 0%, 62%)
CIE-LABlab(13.74, 31.25, -43.17)
CIE-LCHlch(13.74, 53.30, 305.90°)
OKLaboklab(27.03% 0.0291 -0.1244)
OKLCHoklch(27.03% 0.128 283.2)
XYZxyz(3.0830, 1.6859, 11.4699)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231361 #516113
analogous
#132A61 #231361 #4A1361
triadic
#231361 #612313 #136123
tetradic
#231361 #61132A #516113 #13614A
square
#231361 #61132A #516113 #13614A
split-complementary
#231361 #614A13 #2A6113
monochromatic
#09051A #11092E #231361 #351D94 #4827C7

Accessibility & contrast

On white

15.70
#231361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#231361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231361
15.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231361#FFFFFF#000000##FFFFFF
##2313611.0015.701.3415.70
#FFFFFF15.701.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002563
Deuteranopia (green-blind)
#002060
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #231361;
/* rgb */ color: rgb(35, 19, 97);
/* oklch */ color: oklch(27.0% 0.128 283.2);
Tailwind
colors: {
  custom: {
    50: '#67538f',
    500: '#231361',
    950: '#000000',
  },
}
SCSS
$custom: #231361;
$custom-light: #67538f;
$custom-dark: #000000;
JSON
{
  "hex": "#231361",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 252.308,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.27028,
    "c": 0.1278,
    "h": 283.2
  },
  "luminance": 0.01686
}

Semantic roles & 50–950 ramp

primary
#231361
secondary
#859937
accent
#EA3EC7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #231361

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

Preview Lab → · Contrast checker → · Palette generator →

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