#231059#231059

#231059 is a dark, vivid violet. Relative luminance 0.014; OKLCH L 25.7% C 0.121 H 286.3°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#231059
RGBrgb(35, 16, 89)
HSLhsl(256, 70%, 21%)
HSVhsv(256, 82%, 35%)
CMYKcmyk(60.7%, 82%, 0%, 65.1%)
CIE-LABlab(12.28, 30.31, -40.22)
CIE-LCHlch(12.28, 50.36, 307.00°)
OKLaboklab(25.74% 0.0338 -0.1158)
OKLCHoklch(25.74% 0.121 286.3)
XYZxyz(2.6811, 1.4490, 9.5877)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231059 #465910
analogous
#102259 #231059 #471059
triadic
#231059 #592310 #105923
tetradic
#231059 #591022 #465910 #105947
square
#231059 #591022 #465910 #105947
split-complementary
#231059 #594710 #225910
monochromatic
#0A051A #0F0725 #231059 #37198D #4C23C1

Accessibility & contrast

On white

16.28
#231059 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#231059 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231059
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231059#FFFFFF#000000##FFFFFF
##2310591.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225B
Deuteranopia (green-blind)
#001E58
Tritanopia (blue-blind)
#092534
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231059;
/* rgb */ color: rgb(35, 16, 89);
/* oklch */ color: oklch(25.7% 0.121 286.3);
Tailwind
colors: {
  custom: {
    50: '#665189',
    500: '#231059',
    950: '#000000',
  },
}
SCSS
$custom: #231059;
$custom-light: #665189;
$custom-dark: #000000;
JSON
{
  "hex": "#231059",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 89
  },
  "hsl": {
    "h": 255.616,
    "s": 69.524,
    "l": 20.588
  },
  "oklch": {
    "l": 0.25736,
    "c": 0.12063,
    "h": 286.3
  },
  "luminance": 0.01449
}

Semantic roles & 50–950 ramp

primary
#231059
secondary
#799233
accent
#EC3BBE
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231059

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

Preview Lab → · Contrast checker → · Palette generator →

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