#230C44#230C44

#230C44 is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 23.0% C 0.098 H 296.6°. Best body text is #FFFFFF at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#230C44
RGBrgb(35, 12, 68)
HSLhsl(265, 70%, 16%)
HSVhsv(265, 82%, 27%)
CMYKcmyk(48.5%, 82.4%, 0%, 73.3%)
CIE-LABlab(9.30, 25.87, -30.62)
CIE-LCHlch(9.30, 40.09, 310.19°)
OKLaboklab(22.97% 0.0438 -0.0876)
OKLCHoklch(22.97% 0.098 296.6)
XYZxyz(1.8677, 1.0376, 5.5696)
Luminance0.0104 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C44 #2D440C
analogous
#0C1144 #230C44 #3F0C44
triadic
#230C44 #44230C #0C4423
tetradic
#230C44 #440C11 #2D440C #0C443F
square
#230C44 #440C11 #2D440C #0C443F
split-complementary
#230C44 #443F0C #11440C
monochromatic
#0D051A #0D051A #230C44 #3E1578 #591EAC

Accessibility & contrast

On white

17.39
#230C44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230C44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230C44
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C44#FFFFFF#000000##FFFFFF
##230C441.0017.391.2117.39
#FFFFFF17.391.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001A46
Deuteranopia (green-blind)
#001943
Tritanopia (blue-blind)
#1A1A27
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #230c44;
/* rgb */ color: rgb(35, 12, 68);
/* oklch */ color: oklch(23.0% 0.098 296.6);
Tailwind
colors: {
  custom: {
    50: '#624d78',
    500: '#230c44',
    950: '#000000',
  },
}
SCSS
$custom: #230c44;
$custom-light: #624d78;
$custom-dark: #000000;
JSON
{
  "hex": "#230c44",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 264.643,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.22969,
    "c": 0.09796,
    "h": 296.6
  },
  "luminance": 0.01038
}

Semantic roles & 50–950 ramp

primary
#230C44
secondary
#5D802C
accent
#ED3BA4
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050109
muted
#7A777B

Preview Lab

Preview with #230C44

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

Preview Lab → · Contrast checker → · Palette generator →

#230C44 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva