#231353#231353

#231353 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.5% C 0.109 H 287.5°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#231353
RGBrgb(35, 19, 83)
HSLhsl(255, 63%, 20%)
HSVhsv(255, 77%, 33%)
CMYKcmyk(57.8%, 77.1%, 0%, 67.5%)
CIE-LABlab(12.27, 26.58, -36.16)
CIE-LCHlch(12.27, 44.88, 306.32°)
OKLaboklab(25.54% 0.0327 -0.1039)
OKLCHoklch(25.54% 0.109 287.5)
XYZxyz(2.4869, 1.4475, 8.3303)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231353 #435313
analogous
#132353 #231353 #431353
triadic
#231353 #532313 #135323
tetradic
#231353 #531323 #435313 #135343
square
#231353 #531323 #435313 #135343
split-complementary
#231353 #534313 #235313
monochromatic
#0B0619 #0E0821 #231353 #381E85 #4D2AB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##231353#FFFFFF#000000##FFFFFF
##2313531.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)
#002255
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#102431
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231353;
/* rgb */ color: rgb(35, 19, 83);
/* oklch */ color: oklch(25.5% 0.109 287.5);
Tailwind
colors: {
  custom: {
    50: '#645284',
    500: '#231353',
    950: '#000000',
  },
}
SCSS
$custom: #231353;
$custom-light: #645284;
$custom-dark: #000000;
JSON
{
  "hex": "#231353",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 255,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.25537,
    "c": 0.10896,
    "h": 287.5
  },
  "luminance": 0.01448
}

Semantic roles & 50–950 ramp

primary
#231353
secondary
#768B36
accent
#E642BD
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231353

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

Preview Lab → · Contrast checker → · Palette generator →

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