#230B79#230B79

#230B79 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 29.0% C 0.164 H 278.7°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#230B79
RGBrgb(35, 11, 121)
HSLhsl(253, 83%, 26%)
HSVhsv(253, 91%, 47%)
CMYKcmyk(71.1%, 90.9%, 0%, 52.5%)
CIE-LABlab(15.37, 42.45, -56.18)
CIE-LCHlch(15.37, 70.42, 307.08°)
OKLaboklab(28.99% 0.0248 -0.1622)
OKLCHoklch(28.99% 0.164 278.7)
XYZxyz(4.2629, 1.9768, 18.2424)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B79 #61790B
analogous
#0B2A79 #230B79 #5A0B79
triadic
#230B79 #79230B #0B7923
tetradic
#230B79 #790B2A #61790B #0B795A
square
#230B79 #790B2A #61790B #0B795A
split-complementary
#230B79 #795A0B #2A790B
monochromatic
#08031C #130641 #230B79 #3310B1 #4315E9

Accessibility & contrast

On white

15.05
#230B79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#230B79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B79
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B79#FFFFFF#000000##FFFFFF
##230B791.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A7C
Deuteranopia (green-blind)
#002277
Tritanopia (blue-blind)
#003046
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #230b79;
/* rgb */ color: rgb(35, 11, 121);
/* oklch */ color: oklch(29.0% 0.164 278.7);
Tailwind
colors: {
  custom: {
    50: '#6d51a1',
    500: '#230b79',
    950: '#000000',
  },
}
SCSS
$custom: #230b79;
$custom-light: #6d51a1;
$custom-dark: #000000;
JSON
{
  "hex": "#230b79",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 121
  },
  "hsl": {
    "h": 253.091,
    "s": 83.333,
    "l": 25.882
  },
  "oklch": {
    "l": 0.28993,
    "c": 0.16407,
    "h": 278.7
  },
  "luminance": 0.01977
}

Semantic roles & 50–950 ramp

primary
#230B79
secondary
#95B12F
accent
#FA2ECD
background
#F7F4FA
surface
#EDE7F3
border
#C8C3CD
text
#08020F
muted
#7B787F

Preview Lab

Preview with #230B79

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

Preview Lab → · Contrast checker → · Palette generator →

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