#231365#231365

#231365 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.5% C 0.133 H 282.1°. Best body text is #FFFFFF at 15.53:1 contrast (WCAG AA passes).

Color values

HEX#231365
RGBrgb(35, 19, 101)
HSLhsl(252, 68%, 24%)
HSVhsv(252, 81%, 40%)
CMYKcmyk(65.3%, 81.2%, 0%, 60.4%)
CIE-LABlab(14.19, 32.57, -45.10)
CIE-LCHlch(14.19, 55.63, 305.84°)
OKLaboklab(27.47% 0.0279 -0.1301)
OKLCHoklch(27.47% 0.133 282.1)
XYZxyz(3.2742, 1.7624, 12.4770)
Luminance0.0176 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231365 #556513
analogous
#132C65 #231365 #4C1365
triadic
#231365 #652313 #136523
tetradic
#231365 #65132C #556513 #13654C
square
#231365 #65132C #556513 #13654C
split-complementary
#231365 #654C13 #2C6513
monochromatic
#09051A #110931 #231365 #351D99 #4726CC

Accessibility & contrast

On white

15.53
#231365 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#231365 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231365
15.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231365#FFFFFF#000000##FFFFFF
##2313651.0015.531.3515.53
#FFFFFF15.531.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002767
Deuteranopia (green-blind)
#002164
Tritanopia (blue-blind)
#002B3B
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #231365;
/* rgb */ color: rgb(35, 19, 101);
/* oklch */ color: oklch(27.5% 0.133 282.1);
Tailwind
colors: {
  custom: {
    50: '#685392',
    500: '#231365',
    950: '#000000',
  },
}
SCSS
$custom: #231365;
$custom-light: #685392;
$custom-dark: #000000;
JSON
{
  "hex": "#231365",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 101
  },
  "hsl": {
    "h": 251.707,
    "s": 68.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.27472,
    "c": 0.13303,
    "h": 282.1
  },
  "luminance": 0.01763
}

Semantic roles & 50–950 ramp

primary
#231365
secondary
#899D37
accent
#EB3DC9
background
#F6F4F9
surface
#EBE7F1
border
#C6C3CB
text
#07020D
muted
#7A787E

Preview Lab

Preview with #231365

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

Preview Lab → · Contrast checker → · Palette generator →

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