#230C49#230C49

#230C49 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.5% C 0.104 H 293.9°. Best body text is #FFFFFF at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#230C49
RGBrgb(35, 12, 73)
HSLhsl(263, 72%, 17%)
HSVhsv(263, 84%, 29%)
CMYKcmyk(52.1%, 83.6%, 0%, 71.4%)
CIE-LABlab(9.81, 27.42, -33.30)
CIE-LCHlch(9.81, 43.13, 309.47°)
OKLaboklab(23.48% 0.0424 -0.0955)
OKLCHoklch(23.48% 0.104 293.9)
XYZxyz(2.0269, 1.1012, 6.4078)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C49 #32490C
analogous
#0C1449 #230C49 #420C49
triadic
#230C49 #49230C #0C4923
tetradic
#230C49 #490C14 #32490C #0C4942
square
#230C49 #490C14 #32490C #0C4942
split-complementary
#230C49 #49420C #14490C
monochromatic
#0D041A #0D041A #230C49 #3C157E #551DB2

Accessibility & contrast

On white

17.21
#230C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#230C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230C49
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C49#FFFFFF#000000##FFFFFF
##230C491.0017.211.2217.21
#FFFFFF17.211.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C4B
Deuteranopia (green-blind)
#001A48
Tritanopia (blue-blind)
#181C2A
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #230c49;
/* rgb */ color: rgb(35, 12, 73);
/* oklch */ color: oklch(23.5% 0.104 293.9);
Tailwind
colors: {
  custom: {
    50: '#634d7c',
    500: '#230c49',
    950: '#000000',
  },
}
SCSS
$custom: #230c49;
$custom-light: #634d7c;
$custom-dark: #000000;
JSON
{
  "hex": "#230c49",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 262.623,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.23482,
    "c": 0.10445,
    "h": 293.9
  },
  "luminance": 0.01101
}

Semantic roles & 50–950 ramp

primary
#230C49
secondary
#63852C
accent
#EE39AA
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#060109
muted
#7A777B

Preview Lab

Preview with #230C49

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

Preview Lab → · Contrast checker → · Palette generator →

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