#231565#231565

#231565 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.8% C 0.131 H 281.7°. Best body text is #FFFFFF at 15.37:1 contrast (WCAG AA passes).

Color values

HEX#231565
RGBrgb(35, 21, 101)
HSLhsl(251, 66%, 24%)
HSVhsv(251, 79%, 40%)
CMYKcmyk(65.3%, 79.2%, 0%, 60.4%)
CIE-LABlab(14.59, 31.44, -44.44)
CIE-LCHlch(14.59, 54.44, 305.28°)
OKLaboklab(27.75% 0.0265 -0.1282)
OKLCHoklch(27.75% 0.131 281.7)
XYZxyz(3.3095, 1.8330, 12.4888)
Luminance0.0183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231565 #576515
analogous
#152F65 #231565 #4B1565
triadic
#231565 #652315 #156523
tetradic
#231565 #65152F #576515 #15654B
square
#231565 #65152F #576515 #15654B
split-complementary
#231565 #654B15 #2F6515
monochromatic
#090519 #110A32 #231565 #352098 #462ACA

Accessibility & contrast

On white

15.37
#231565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#231565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231565
15.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231565#FFFFFF#000000##FFFFFF
##2315651.0015.371.3715.37
#FFFFFF15.371.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002264
Tritanopia (blue-blind)
#002C3C
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #231565;
/* rgb */ color: rgb(35, 21, 101);
/* oklch */ color: oklch(27.8% 0.131 281.7);
Tailwind
colors: {
  custom: {
    50: '#685492',
    500: '#231565',
    950: '#000000',
  },
}
SCSS
$custom: #231565;
$custom-light: #685492;
$custom-dark: #000000;
JSON
{
  "hex": "#231565",
  "rgb": {
    "r": 35,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 250.5,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.27751,
    "c": 0.13087,
    "h": 281.7
  },
  "luminance": 0.01833
}

Semantic roles & 50–950 ramp

primary
#231565
secondary
#8B9C3A
accent
#E93FCB
background
#F6F4F9
surface
#EBE8F1
border
#C6C4CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #231565

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

Preview Lab → · Contrast checker → · Palette generator →

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