#231253#231253

#231253 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.110 H 287.8°. Best body text is #FFFFFF at 16.37:1 contrast (WCAG AA passes).

Color values

HEX#231253
RGBrgb(35, 18, 83)
HSLhsl(256, 64%, 20%)
HSVhsv(256, 78%, 33%)
CMYKcmyk(57.8%, 78.3%, 0%, 67.5%)
CIE-LABlab(12.05, 27.19, -36.52)
CIE-LCHlch(12.05, 45.53, 306.67°)
OKLaboklab(25.38% 0.0337 -0.105)
OKLCHoklch(25.38% 0.11 287.8)
XYZxyz(2.4703, 1.4143, 8.3248)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231253 #425312
analogous
#122253 #231253 #431253
triadic
#231253 #532312 #125323
tetradic
#231253 #531222 #425312 #125343
square
#231253 #531222 #425312 #125343
split-complementary
#231253 #534312 #225312
monochromatic
#0B0519 #0E0721 #231253 #381D85 #4D28B8

Accessibility & contrast

On white

16.37
#231253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#231253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231253
16.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231253#FFFFFF#000000##FFFFFF
##2312531.0016.371.2816.37
#FFFFFF16.371.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#001E52
Tritanopia (blue-blind)
#102331
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231253;
/* rgb */ color: rgb(35, 18, 83);
/* oklch */ color: oklch(25.4% 0.110 287.8);
Tailwind
colors: {
  custom: {
    50: '#645184',
    500: '#231253',
    950: '#000000',
  },
}
SCSS
$custom: #231253;
$custom-light: #645184;
$custom-dark: #000000;
JSON
{
  "hex": "#231253",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 83
  },
  "hsl": {
    "h": 255.692,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25383,
    "c": 0.11025,
    "h": 287.8
  },
  "luminance": 0.01414
}

Semantic roles & 50–950 ramp

primary
#231253
secondary
#758C35
accent
#E740BC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231253

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

Preview Lab → · Contrast checker → · Palette generator →

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