#231352#231352

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

Color values

HEX#231352
RGBrgb(35, 19, 82)
HSLhsl(255, 62%, 20%)
HSVhsv(255, 77%, 32%)
CMYKcmyk(57.3%, 76.8%, 0%, 67.8%)
CIE-LABlab(12.17, 26.25, -35.64)
CIE-LCHlch(12.17, 44.27, 306.37°)
OKLaboklab(25.44% 0.033 -0.1024)
OKLCHoklch(25.44% 0.108 287.8)
XYZxyz(2.4486, 1.4321, 8.1284)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231352 #425213
analogous
#132352 #231352 #431352
triadic
#231352 #522313 #135223
tetradic
#231352 #521323 #425213 #135243
square
#231352 #521323 #425213 #135243
split-complementary
#231352 #524313 #235213
monochromatic
#0B0619 #0E0720 #231352 #381F84 #4D2AB5

Accessibility & contrast

On white

16.32
#231352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231352
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231352#FFFFFF#000000##FFFFFF
##2313521.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002154
Deuteranopia (green-blind)
#001E51
Tritanopia (blue-blind)
#112331
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231352;
/* rgb */ color: rgb(35, 19, 82);
/* oklch */ color: oklch(25.4% 0.108 287.8);
Tailwind
colors: {
  custom: {
    50: '#645283',
    500: '#231352',
    950: '#000000',
  },
}
SCSS
$custom: #231352;
$custom-light: #645283;
$custom-dark: #000000;
JSON
{
  "hex": "#231352",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 82
  },
  "hsl": {
    "h": 255.238,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25435,
    "c": 0.10758,
    "h": 287.8
  },
  "luminance": 0.01432
}

Semantic roles & 50–950 ramp

primary
#231352
secondary
#758A36
accent
#E542BC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231352

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

Preview Lab → · Contrast checker → · Palette generator →

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